mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
Removing a few pieces of redundant code for efficiency
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5352 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -16,7 +16,7 @@ define('IN_PHPBB', 1);
|
|||||||
if( !empty($setmodules) )
|
if( !empty($setmodules) )
|
||||||
{
|
{
|
||||||
$file = basename(__FILE__);
|
$file = basename(__FILE__);
|
||||||
$module['General']['Configuration'] = "$file";
|
$module['General']['Configuration'] = $file;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@ define('IN_PHPBB', 1);
|
|||||||
if( !empty($setmodules) )
|
if( !empty($setmodules) )
|
||||||
{
|
{
|
||||||
$filename = basename(__FILE__);
|
$filename = basename(__FILE__);
|
||||||
$module['Users']['Disallow'] = append_sid($filename);
|
$module['Users']['Disallow'] = $filename;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -24,7 +24,7 @@ define('IN_PHPBB', 1);
|
|||||||
if( !empty($setmodules) )
|
if( !empty($setmodules) )
|
||||||
{
|
{
|
||||||
$file = basename(__FILE__);
|
$file = basename(__FILE__);
|
||||||
$module['Users']['Ranks'] = "$file";
|
$module['Users']['Ranks'] = $file;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ if( !empty($setmodules) )
|
|||||||
$file = basename(__FILE__);
|
$file = basename(__FILE__);
|
||||||
$module['Styles']['Add_new'] = "$file?mode=addnew";
|
$module['Styles']['Add_new'] = "$file?mode=addnew";
|
||||||
$module['Styles']['Create_new'] = "$file?mode=create";
|
$module['Styles']['Create_new'] = "$file?mode=create";
|
||||||
$module['Styles']['Manage'] = "$file";
|
$module['Styles']['Manage'] = $file;
|
||||||
$module['Styles']['Export'] = "$file?mode=export";
|
$module['Styles']['Export'] = "$file?mode=export";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -25,7 +25,7 @@ define('IN_PHPBB', 1);
|
|||||||
if( !empty($setmodules) )
|
if( !empty($setmodules) )
|
||||||
{
|
{
|
||||||
$file = basename(__FILE__);
|
$file = basename(__FILE__);
|
||||||
$module['General']['Word_Censor'] = "$file";
|
$module['General']['Word_Censor'] = $file;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user