diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-20 23:57:11 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-20 23:57:11 -0700 |
commit | 9dd087167294cacaf0e00a4c7e66a5556a543a26 (patch) | |
tree | 4e1a0beb578c582449c32d7c4c427affc07b0752 /lib | |
parent | 11639361046989d634710eefdbaf15a0f44c5e5a (diff) | |
parent | b8983d3a45d16afc81d527fc2616f8c43bbf2c87 (diff) | |
download | rpg-9dd087167294cacaf0e00a4c7e66a5556a543a26.tar.gz rpg-9dd087167294cacaf0e00a4c7e66a5556a543a26.tar.bz2 |
Merge pull request #306 from mperry2/whitespace
Fix CodeSniffer violations
Diffstat (limited to 'lib')
-rw-r--r-- | lib/exe/detail.php | 4 | ||||
-rw-r--r-- | lib/plugins/acl/remote.php | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php index 7008b126f..7aae08f76 100644 --- a/lib/exe/detail.php +++ b/lib/exe/detail.php @@ -11,8 +11,8 @@ $ID = cleanID($INPUT->str('id')); $INFO = array_merge(pageinfo(),mediainfo()); trigger_event('DETAIL_STARTED', $tmp=array()); -//close session
-session_write_close();
+//close session +session_write_close(); if($conf['allowdebug'] && $INPUT->has('debug')){ print '<pre>'; diff --git a/lib/plugins/acl/remote.php b/lib/plugins/acl/remote.php index 8f6dfbcd9..6d5201cf6 100644 --- a/lib/plugins/acl/remote.php +++ b/lib/plugins/acl/remote.php @@ -16,14 +16,14 @@ class remote_plugin_acl extends DokuWiki_Remote_Plugin { ), ); } - + function addAcl($scope, $user, $level){ - $apa = plugin_load('admin', 'acl'); + $apa = plugin_load('admin', 'acl'); return $apa->_acl_add($scope, $user, $level); } - + function delAcl($scope, $user){ - $apa = plugin_load('admin', 'acl'); + $apa = plugin_load('admin', 'acl'); return $apa->_acl_del($scope, $user); } } |