|
From: <var...@us...> - 2021-09-17 16:35:53
|
Revision: 10571
http://sourceforge.net/p/phpwiki/code/10571
Author: vargenau
Date: 2021-09-17 16:35:51 +0000 (Fri, 17 Sep 2021)
Log Message:
-----------
No break needed after return
Modified Paths:
--------------
trunk/lib/WikiGroup.php
trunk/lib/plugin/FileInfo.php
Modified: trunk/lib/WikiGroup.php
===================================================================
--- trunk/lib/WikiGroup.php 2021-09-17 16:25:37 UTC (rev 10570)
+++ trunk/lib/WikiGroup.php 2021-09-17 16:35:51 UTC (rev 10571)
@@ -112,10 +112,8 @@
switch (GROUP_METHOD) {
case "NONE":
return new GroupNone($not_current);
- break;
case "WIKIPAGE":
return new GroupWikiPage($not_current);
- break;
case "DB":
if ($GLOBALS['DBParams']['dbtype'] == 'SQL') {
return new GroupDb_PearDB($not_current);
@@ -127,10 +125,8 @@
break;
case "FILE":
return new GroupFile($not_current);
- break;
case "LDAP":
return new GroupLDAP($not_current);
- break;
default:
trigger_error(_("No or unsupported GROUP_METHOD defined"), E_USER_WARNING);
return new WikiGroup($not_current);
Modified: trunk/lib/plugin/FileInfo.php
===================================================================
--- trunk/lib/plugin/FileInfo.php 2021-09-17 16:25:37 UTC (rev 10570)
+++ trunk/lib/plugin/FileInfo.php 2021-09-17 16:35:51 UTC (rev 10571)
@@ -161,7 +161,6 @@
} else {
return HTML::raw('');
}
- break;
}
}
chdir($dir);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|