summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Perry <matt@mattperry.com>2013-08-20 21:18:30 -0700
committerMatt Perry <matt@mattperry.com>2013-08-20 21:18:30 -0700
commitb8983d3a45d16afc81d527fc2616f8c43bbf2c87 (patch)
tree4e1a0beb578c582449c32d7c4c427affc07b0752 /lib
parent11639361046989d634710eefdbaf15a0f44c5e5a (diff)
downloadrpg-b8983d3a45d16afc81d527fc2616f8c43bbf2c87.tar.gz
rpg-b8983d3a45d16afc81d527fc2616f8c43bbf2c87.tar.bz2
Fix CodeSniffer violations
Remove whitespace from end of lines to reduce the number of CodeSniffer violations.
Diffstat (limited to 'lib')
-rw-r--r--lib/exe/detail.php4
-rw-r--r--lib/plugins/acl/remote.php8
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);
}
}