summaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-21 16:45:36 +0200
commit42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch)
tree6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /cron
parent0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff)
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'cron')
-rw-r--r--cron/updater.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/cron/updater.php b/cron/updater.php
index 40e134b02..b04472334 100644
--- a/cron/updater.php
+++ b/cron/updater.php
@@ -20,19 +20,19 @@ use \OCA\News\AppInfo\Application;
class Updater {
- static public function run() {
- $app = new Application();
-
- $container = $app->getContainer();
-
- // make it possible to turn off cron updates if you use an external
- // script to execute updates in parallel
- if ($container->query('Config')->getUseCronUpdates()) {
- $container->query('Updater')->beforeUpdate();
- $container->query('Updater')->update();
- $container->query('Updater')->afterUpdate();
- }
- }
+ static public function run() {
+ $app = new Application();
+
+ $container = $app->getContainer();
+
+ // make it possible to turn off cron updates if you use an external
+ // script to execute updates in parallel
+ if ($container->query('Config')->getUseCronUpdates()) {
+ $container->query('Updater')->beforeUpdate();
+ $container->query('Updater')->update();
+ $container->query('Updater')->afterUpdate();
+ }
+ }
}