From: <var...@us...> - 2014-11-17 15:34:25
|
Revision: 9322 http://sourceforge.net/p/phpwiki/code/9322 Author: vargenau Date: 2014-11-17 15:34:21 +0000 (Mon, 17 Nov 2014) Log Message: ----------- function dotPerms is static Modified Paths: -------------- trunk/lib/PagePerm.php Modified: trunk/lib/PagePerm.php =================================================================== --- trunk/lib/PagePerm.php 2014-11-17 15:30:45 UTC (rev 9321) +++ trunk/lib/PagePerm.php 2014-11-17 15:34:21 UTC (rev 9322) @@ -122,6 +122,7 @@ return HTML::samp(array('class' => 'inherited', 'style' => 'color:#aaa;'), $perm->asRwxString($owner, $group)); } + return ''; } function pagePermissionsAcl($type, $perm_tree) @@ -533,7 +534,7 @@ * special permissions for dot-files, beginning with '.' * maybe also for '_' files? */ - function dotPerms() + static function dotPerms() { $def = array(ACL_ADMIN => true, ACL_OWNER => true); @@ -711,7 +712,6 @@ function asAclLines() { $s = ''; - $line = ''; $this->sanify(); foreach ($this->perm as $access => $groups) { // unify groups for same access+bool This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |