@@ -1069,7 +1069,7 @@ |
||
1069 | 1069 | */ |
1070 | 1070 | public function getStatusMessage($status, $isAble = true) |
1071 | 1071 | { |
1072 | - $message = ''; |
|
1072 | + $message = ''; |
|
1073 | 1073 | switch ($status) { |
1074 | 1074 | case ADVANCED_SUBSCRIPTION_QUEUE_STATUS_NO_QUEUE: |
1075 | 1075 | if ($isAble) { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | if ($data['type'] === HOOK_EVENT_TYPE_PRE) { |
68 | 68 | |
69 | 69 | } elseif ($data['type'] === HOOK_EVENT_TYPE_POST) { |
70 | - /** @var \nusoap_server $server */ |
|
70 | + /** @var \nusoap_server $server */ |
|
71 | 71 | $server = &$data['server']; |
72 | 72 | |
73 | 73 | /** WSSessionListInCategory */ |
@@ -424,7 +424,7 @@ discard block |
||
424 | 424 | } |
425 | 425 | if (!WSHelperVerifyKey($params)) { |
426 | 426 | |
427 | - //return return_error(WS_ERROR_SECRET_KEY); |
|
427 | + //return return_error(WS_ERROR_SECRET_KEY); |
|
428 | 428 | } |
429 | 429 | // Check if category ID is set |
430 | 430 | if (!empty($params['id']) && empty($params['name'])) { |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This script generates session fields needed for this plugin |
|
5 | - * @package chamilo.plugin.advanced_subscription |
|
6 | - */ |
|
4 | + * This script generates session fields needed for this plugin |
|
5 | + * @package chamilo.plugin.advanced_subscription |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | //exit; |
9 | 9 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * Script to show sessions terms and conditions |
|
5 | - * @package chamilo.plugin.advanced_subscription |
|
6 | - */ |
|
4 | + * Script to show sessions terms and conditions |
|
5 | + * @package chamilo.plugin.advanced_subscription |
|
6 | + */ |
|
7 | 7 | /** |
8 | - * Init |
|
9 | - */ |
|
8 | + * Init |
|
9 | + */ |
|
10 | 10 | require_once __DIR__ . '/../config.php'; |
11 | 11 | // start plugin |
12 | 12 | $plugin = AdvancedSubscriptionPlugin::create(); |
@@ -1,9 +1,9 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * A script to test session details by user web service |
|
5 | - * @package chamilo.plugin.advanced_subscription |
|
6 | - */ |
|
4 | + * A script to test session details by user web service |
|
5 | + * @package chamilo.plugin.advanced_subscription |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Init |
@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | //error_log($secret_key.'-'.$security_key); |
58 | 58 | } |
59 | 59 | /** |
60 | - * End WSHelperVerifyKey |
|
61 | - */ |
|
60 | + * End WSHelperVerifyKey |
|
61 | + */ |
|
62 | 62 | |
63 | 63 | $params['secret_key'] = sha1($security_key); |
64 | 64 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * A script to render all mails templates |
|
5 | - * @package chamilo.plugin.advanced_subscription |
|
6 | - */ |
|
4 | + * A script to render all mails templates |
|
5 | + * @package chamilo.plugin.advanced_subscription |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | require_once __DIR__ . '/../config.php'; |
9 | 9 |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * Script to receipt request to subscribe and confirmation action to queue |
|
5 | - * @author Daniel Alejandro Barreto Alva <[email protected]> |
|
6 | - * @package chamilo.plugin.advanced_subscription |
|
7 | - */ |
|
4 | + * Script to receipt request to subscribe and confirmation action to queue |
|
5 | + * @author Daniel Alejandro Barreto Alva <[email protected]> |
|
6 | + * @package chamilo.plugin.advanced_subscription |
|
7 | + */ |
|
8 | 8 | /** |
9 | - * Init |
|
10 | - */ |
|
9 | + * Init |
|
10 | + */ |
|
11 | 11 | require_once __DIR__ . '/../config.php'; |
12 | 12 | |
13 | 13 | $plugin = AdvancedSubscriptionPlugin::create(); |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This script is included by main/admin/settings.lib.php when unselecting a plugin |
|
5 | - * and is meant to remove things installed by the install.php script in both |
|
6 | - * the global database and the courses tables |
|
7 | - * @package chamilo.plugin.advanced_subscription |
|
4 | + * This script is included by main/admin/settings.lib.php when unselecting a plugin |
|
5 | + * and is meant to remove things installed by the install.php script in both |
|
6 | + * the global database and the courses tables |
|
7 | + * @package chamilo.plugin.advanced_subscription |
|
8 | 8 | */ |
9 | 9 | |
10 | 10 | /** |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | $resubscriptionLimit = Resubscription::create()->get('resubscription_limit'); |
33 | 33 | |
34 | - // Initialize variables as a calendar year by default |
|
34 | + // Initialize variables as a calendar year by default |
|
35 | 35 | $limitDateFormat = 'Y-01-01'; |
36 | 36 | $limitDate = gmdate($limitDateFormat); |
37 | 37 | $resubscriptionOffset = "1 year"; |