Completed
Push — 1.10.x ( 73a570...673229 )
by Yannick
411:51 queued 372:03
created
plugin/skype/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,4 +6,4 @@
 block discarded – undo
6 6
  * @package chamilo.plugin.skype
7 7
  */
8 8
 
9
-require_once api_get_path(SYS_PATH) . 'main/inc/global.inc.php';
9
+require_once api_get_path(SYS_PATH).'main/inc/global.inc.php';
Please login to merge, or discard this patch.
plugin/skype/install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
  * @author Imanol Losada Oriol <[email protected]>
6 6
  * @package chamilo.plugin.skype
7 7
  */
8
-require_once __DIR__ . '/config.php';
8
+require_once __DIR__.'/config.php';
9 9
 
10 10
 Skype::create()->install();
Please login to merge, or discard this patch.
plugin/openmeetings/lib/openmeetings_api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
     {
20 20
         $this->_user = CONFIG_OPENMEETINGS_USER;
21 21
         $this->_pass = CONFIG_OPENMEETINGS_PASS;
22
-        $this->_serverBaseUrl  = CONFIG_OPENMEETINGS_SERVER_URL;
22
+        $this->_serverBaseUrl = CONFIG_OPENMEETINGS_SERVER_URL;
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
plugin/openmeetings/lib/room.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
         global $_configuration;
50 50
         $this->name = 'C'.api_get_real_course_id().'-'.api_get_session_id();
51 51
         $accessUrl = api_get_access_url($_configuration['access_url']);
52
-        $this->externalRoomType = substr($accessUrl['url'], strpos($accessUrl['url'],'://')+3,-1);
52
+        $this->externalRoomType = substr($accessUrl['url'], strpos($accessUrl['url'], '://') + 3, -1);
53 53
         if (strcmp($this->externalRoomType, 'localhost') == 0) {
54
-            $this->externalRoomType = substr(api_get_path(WEB_PATH), strpos(api_get_path(WEB_PATH),'://')+3, -1);
54
+            $this->externalRoomType = substr(api_get_path(WEB_PATH), strpos(api_get_path(WEB_PATH), '://') + 3, -1);
55 55
         }
56 56
         $this->externalRoomType = 'chamilolms.'.$this->externalRoomType;
57 57
     }
@@ -110,6 +110,6 @@  discard block
 block discarded – undo
110 110
         if (!isset($this->$attribute)) {
111 111
             return $voidReturn;
112 112
         }
113
-        return $this->$attribute?'true':'false';
113
+        return $this->$attribute ? 'true' : 'false';
114 114
     }
115 115
 }
Please login to merge, or discard this patch.
plugin/kannelsms/lib/kannelsms.lib.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,14 +75,13 @@
 block discarded – undo
75 75
         $trimmedKey = trim(CONFIG_SECURITY_API_KEY);
76 76
         if (!empty($trimmedKey)) {
77 77
             $message = array(
78
-                "to" => array_key_exists("mobilePhoneNumber",$additionalParameters) ?
79
-                    $additionalParameters['mobilePhoneNumber'] :
80
-                    $this->getMobilePhoneNumberById($additionalParameters['userId']),
78
+                "to" => array_key_exists("mobilePhoneNumber", $additionalParameters) ?
79
+                    $additionalParameters['mobilePhoneNumber'] : $this->getMobilePhoneNumberById($additionalParameters['userId']),
81 80
                 "message" => $this->getSms($additionalParameters)
82 81
             );
83 82
 
84 83
             if (!empty($message['message'])) {
85
-                if(extension_loaded('curl')) {
84
+                if (extension_loaded('curl')) {
86 85
                     $url = $this->hostAddress.'?username='.
87 86
                         $this->username.'&password='.$this->password.'&from='.
88 87
                         $this->from.'&to='.$message['to'].'&msg='.urlencode($message['message']);
Please login to merge, or discard this patch.
plugin/rss/plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
  * @author Laurent Opprecht
10 10
  */
11 11
 
12
-require_once dirname(__FILE__) . '/lib/rss_plugin.class.php';
12
+require_once dirname(__FILE__).'/lib/rss_plugin.class.php';
13 13
 
14 14
 $plugin_info = RssPlugin::create()->get_info();
Please login to merge, or discard this patch.
plugin/show_user_info/lang/english.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$strings['WelcomeToChamiloUserX']     = "Welcome to Chamilo %s!";
3
+$strings['WelcomeToChamiloUserX'] = "Welcome to Chamilo %s!";
Please login to merge, or discard this patch.
plugin/show_user_info/lang/spanish.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$strings['WelcomeToChamiloUserX']     = "Bienvenido a Chamilo %s!";
4 3
\ No newline at end of file
4
+$strings['WelcomeToChamiloUserX'] = "Bienvenido a Chamilo %s!";
5 5
\ No newline at end of file
Please login to merge, or discard this patch.
plugin/add_shibboleth_login_button/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@
 block discarded – undo
1 1
 <?php
2 2
 // Show the Shibboleth button to login using SHIBBOLETH
3 3
 
4
-$_template['show_message']   = false;
4
+$_template['show_message'] = false;
5 5
 
6 6
 if (api_is_anonymous()) {
7
-    $_template['show_message']   = true;
7
+    $_template['show_message'] = true;
8 8
     // the default title
9 9
     $button_label = "Connexion via Shibboleth";
10 10
     if (!empty($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_label'])) {
11 11
         $button_label = api_htmlentities($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_label']);
12 12
     }
13 13
     // the comm
14
-    $comm_label = api_htmlentities($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_comment']);;
14
+    $comm_label = api_htmlentities($plugin_info['settings']['add_shibboleth_login_button_shibboleth_button_comment']); ;
15 15
     // URL of the image
16 16
     $url_label = $plugin_info['settings']['add_shibboleth_login_button_shibboleth_image_url'];
17 17
     
Please login to merge, or discard this patch.