summaryrefslogtreecommitdiff
path: root/plugins/updater
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 18:34:18 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 18:34:18 +0400
commita42c55f02b7e313ab61bf826794d0888f2dceae1 (patch)
tree7946572f0e45015a0b54830bd1296be548584ed8 /plugins/updater
parent72ff0137298f60970c664f0be24327b120bf4ac7 (diff)
fix blank character after opening bracket in function calls
Diffstat (limited to 'plugins/updater')
-rw-r--r--plugins/updater/init.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/updater/init.php b/plugins/updater/init.php
index 856a0cbf9..2ae4c4109 100644
--- a/plugins/updater/init.php
+++ b/plugins/updater/init.php
@@ -20,7 +20,7 @@ class Updater extends Plugin {
$this);
}
- function update_self_step( $step, $params, $force = false) {
+ function update_self_step($step, $params, $force = false) {
// __FILE__ is in plugins/updater so we need to go one level up
$work_dir = dirname(dirname(dirname(__FILE__)));
$parent_dir = dirname($work_dir);
@@ -277,13 +277,13 @@ class Updater extends Plugin {
return array("step" => $step, "stop" => $stop, "params" => $params, "log" => $log);
}
- function update_self_cli( $force = false) {
+ function update_self_cli($force = false) {
$step = 0;
$stop = false;
$params = array();
while (!$stop) {
- $rc = $this->update_self_step( $step, $params, $force);
+ $rc = $this->update_self_step($step, $params, $force);
$params = $rc['params'];
$stop = $rc['stop'];
@@ -307,7 +307,7 @@ class Updater extends Plugin {
if ($input != 'yes' && $input != 'force')
exit;
- $this->update_self_cli( $input == 'force');
+ $this->update_self_cli($input == 'force');
}
function get_prefs_js() {
@@ -376,7 +376,7 @@ class Updater extends Plugin {
$force = (bool) $_REQUEST["force"];
if (($_SESSION["access_level"] >= 10 || SINGLE_USER_MODE) && CHECK_FOR_NEW_VERSION) {
- print json_encode($this->update_self_step( $step, $params, $force));
+ print json_encode($this->update_self_step($step, $params, $force));
}
}