"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/datahandlers/warnings.php" between
mybb_1819.zip and mybb_1820.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

warnings.php  (mybb_1819):warnings.php  (mybb_1820)
skipping to change at line 594 skipping to change at line 594
// now that we've got all the info, do ne cessary stuff // now that we've got all the info, do ne cessary stuff
for($i = 1; $i <= 3; ++$i) for($i = 1; $i <= 3; ++$i)
{ {
if($check_levels[$i]) if($check_levels[$i])
{ {
switch($i) switch($i)
{ {
case 1: // Ban case 1: // Ban
// we'll have to resort to letting the admin/mod remove the ban manually, since there's a n issue if stacked bans are in force... // we'll have to resort to letting the admin/mod remove the ban manually, since there's a n issue if stacked bans are in force...
continue; continue 2;
case 2: // Revoke posting case 2: // Revoke posting
$current_ expiry_field = 'suspensiontime'; $current_ expiry_field = 'suspensiontime';
$current_ inforce_field = 'suspendposting'; $current_ inforce_field = 'suspendposting';
break; break;
case 3: case 3:
$current_ expiry_field = 'moderationtime'; $current_ expiry_field = 'moderationtime';
$current_ inforce_field = 'moderateposts'; $current_ inforce_field = 'moderateposts';
break; break;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)