@@ -137,11 +137,11 @@ discard block |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * provides a side connection to a vchamilo database |
|
141 | - * @param array $_configuration |
|
140 | + * provides a side connection to a vchamilo database |
|
141 | + * @param array $_configuration |
|
142 | 142 | * |
143 | - * @return \Doctrine\DBAL\Driver\Connection |
|
144 | - */ |
|
143 | + * @return \Doctrine\DBAL\Driver\Connection |
|
144 | + */ |
|
145 | 145 | public static function bootConnection(&$_configuration) |
146 | 146 | { |
147 | 147 | $dbParams = array( |
@@ -249,10 +249,10 @@ discard block |
||
249 | 249 | } |
250 | 250 | |
251 | 251 | /** |
252 | - * drop a vchamilo instance databases using the physical connection |
|
253 | - * @param stdClass $params |
|
254 | - * return an array of errors or false if ok |
|
255 | - */ |
|
252 | + * drop a vchamilo instance databases using the physical connection |
|
253 | + * @param stdClass $params |
|
254 | + * return an array of errors or false if ok |
|
255 | + */ |
|
256 | 256 | public static function dropDatabase($params) |
257 | 257 | { |
258 | 258 | $params = clone $params; |
@@ -302,10 +302,10 @@ discard block |
||
302 | 302 | } |
303 | 303 | |
304 | 304 | /** |
305 | - * get a proper SQLdump command |
|
306 | - * @param object $vmoodledata the complete new host information |
|
307 | - * @return string the shell command |
|
308 | - */ |
|
305 | + * get a proper SQLdump command |
|
306 | + * @param object $vmoodledata the complete new host information |
|
307 | + * @return string the shell command |
|
308 | + */ |
|
309 | 309 | public static function getDatabaseDumpCmd($vchamilodata) |
310 | 310 | { |
311 | 311 | $pgm = self::getConfig('vchamilo', 'mysql_cmd'); |
@@ -469,8 +469,8 @@ discard block |
||
469 | 469 | } |
470 | 470 | |
471 | 471 | /** |
472 | - * read manifest values in vchamilo template. |
|
473 | - */ |
|
472 | + * read manifest values in vchamilo template. |
|
473 | + */ |
|
474 | 474 | public static function getVmanifest($version) |
475 | 475 | { |
476 | 476 | $file = api_get_path(SYS_PATH).'/plugin/vchamilo/templates/'.$version.'/manifest.php'; |
@@ -490,8 +490,8 @@ discard block |
||
490 | 490 | } |
491 | 491 | |
492 | 492 | /** |
493 | - * make a fake vchamilo that represents the current host |
|
494 | - */ |
|
493 | + * make a fake vchamilo that represents the current host |
|
494 | + */ |
|
495 | 495 | public static function makeThis() |
496 | 496 | { |
497 | 497 | global $_configuration; |
@@ -556,11 +556,11 @@ discard block |
||
556 | 556 | } |
557 | 557 | |
558 | 558 | /** |
559 | - * this function set will map standard moodle API calls to chamilo |
|
560 | - * internal primitives. This avoids too many changes to do in imported |
|
561 | - * code |
|
562 | - * |
|
563 | - */ |
|
559 | + * this function set will map standard moodle API calls to chamilo |
|
560 | + * internal primitives. This avoids too many changes to do in imported |
|
561 | + * code |
|
562 | + * |
|
563 | + */ |
|
564 | 564 | public static function getConfig($module, $key, $isplugin = true) |
565 | 565 | { |
566 | 566 | if ($isplugin) { |