1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

Grammar correction near previous commit

Also cleaned up comments made in previous commit
This commit is contained in:
Nick Liu 2018-06-21 23:33:46 -05:00
parent 94cb469862
commit 32b844dad3
No known key found for this signature in database
GPG Key ID: 1167C5F9C9897637

View File

@ -2430,9 +2430,6 @@ class e107forum
public function upgradeLegacyPrefs()
{
// Commented out as it is irritating to get this message and nothing is done or has to be done.
//e107::getMessage()->addDebug("Legacy Forum Menu Pref Detected. Upgrading..");
$legacyMenuPrefs = array(
'newforumposts_caption' => 'caption',
'newforumposts_display' => 'display',
@ -2446,11 +2443,11 @@ class e107forum
{
if(e107::getMenu()->setParms('forum','newforumposts_menu', $newPrefs) !== false)
{
e107::getMessage()->addDebug("Sucessfully Migrated newforumposts prefs from core to menu table. ");
e107::getMessage()->addDebug("Successfully migrated newforumposts prefs from core to menu table.");
}
else
{
e107::getMessage()->addDebug("Legacy Forum Menu Pref Detected. Upgrading..");
e107::getMessage()->addDebug("Legacy Forum menu pref detected. Upgrading...");
}
}