mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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:
parent
160ae210c3
commit
ea8943d8b4
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue