mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +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) )
|
||||
{
|
||||
$file = basename(__FILE__);
|
||||
$module['General']['Configuration'] = "$file";
|
||||
$module['General']['Configuration'] = $file;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,7 @@ define('IN_PHPBB', 1);
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$filename = basename(__FILE__);
|
||||
$module['Users']['Disallow'] = append_sid($filename);
|
||||
$module['Users']['Disallow'] = $filename;
|
||||
|
||||
return;
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ define('IN_PHPBB', 1);
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$file = basename(__FILE__);
|
||||
$module['Users']['Ranks'] = "$file";
|
||||
$module['Users']['Ranks'] = $file;
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -27,7 +27,7 @@ if( !empty($setmodules) )
|
||||
$file = basename(__FILE__);
|
||||
$module['Styles']['Add_new'] = "$file?mode=addnew";
|
||||
$module['Styles']['Create_new'] = "$file?mode=create";
|
||||
$module['Styles']['Manage'] = "$file";
|
||||
$module['Styles']['Manage'] = $file;
|
||||
$module['Styles']['Export'] = "$file?mode=export";
|
||||
return;
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ define('IN_PHPBB', 1);
|
||||
if( !empty($setmodules) )
|
||||
{
|
||||
$file = basename(__FILE__);
|
||||
$module['General']['Word_Censor'] = "$file";
|
||||
$module['General']['Word_Censor'] = $file;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user