From 42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 21 Oct 2014 16:45:36 +0200 Subject: 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 --- cron/updater.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'cron') 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(); + } + } } -- cgit v1.2.3