summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
commitafadf93d317e27fd848f1e70d5849169f862aed9 (patch)
tree4a9ed633a7735a1be3cf33fdad31ab981fd64a6b /settings/admin.php
parentd9e97610999ddf9f3a060b786f22d0abb054521e (diff)
downloadnextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.tar.gz
nextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.zip
Checkstyle: many fixes
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-xsettings/admin.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 9cb70353f9c..7ce0ee0d6ff 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -20,22 +20,22 @@ $htaccessworking=OC_Util::ishtaccessworking();
$entries=OC_Log_Owncloud::getEntries(3);
$entriesremain=(count(OC_Log_Owncloud::getEntries(4)) > 3)?true:false;
-function compareEntries($a,$b) {
+function compareEntries($a, $b) {
return $b->time - $a->time;
}
usort($entries, 'compareEntries');
$tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 ));
-$tmpl->assign('entries',$entries);
+$tmpl->assign('entries', $entries);
$tmpl->assign('entriesremain', $entriesremain);
-$tmpl->assign('htaccessworking',$htaccessworking);
+$tmpl->assign('htaccessworking', $htaccessworking);
$tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax'));
$tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes'));
$tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes'));
$tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes'));
$tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global'));
-$tmpl->assign('forms',array());
+$tmpl->assign('forms', array());
foreach($forms as $form) {
- $tmpl->append('forms',$form);
+ $tmpl->append('forms', $form);
}
$tmpl->printPage();