Changeset 2662202
- Timestamp:
- 01/23/2022 10:30:36 AM (4 years ago)
- Location:
- logistia/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
includes/class-logistia-activator.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
logistia/trunk/README.txt
r2391188 r2662202 3 3 Tags: delivery, route, stock sync, logistics management, optimal route, stock alerts, product management, employee management 4 4 Requires at least: 3.0.1 5 Tested up to: 5. 36 Stable tag: 1.1. 05 Tested up to: 5.8.2 6 Stable tag: 1.1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
logistia/trunk/includes/class-logistia-activator.php
r2391237 r2662202 36 36 try { 37 37 $currentIntegration = Logistia_Activator::create_keys("Logistia", get_current_user_id(), "read_write"); 38 Logistia_Activator::signInUser($currentIntegration['consumer_key'], $currentIntegration['consumer_secret']); 38 if ($currentIntegration['consumer_key'] != null && $currentIntegration['consumer_secret'] != null) { 39 Logistia_Activator::signInUser($currentIntegration['consumer_key'], $currentIntegration['consumer_secret']); 40 } else { 41 echo 'Could not generate keys'; 42 } 39 43 } catch (Exception $e) { 40 44 echo 'Logistia caught exception: ', $e->getMessage(), "\n";
Note: See TracChangeset
for help on using the changeset viewer.