Move PConfig::delete() to DI::pConfig()->delete()

This commit is contained in:
nupplaPhil
2020-01-18 16:56:46 +01:00
parent 88bb66371c
commit b5c0df439f
4 changed files with 10 additions and 23 deletions
+3 -3
View File
@@ -135,7 +135,7 @@ function update_1191()
$value = $rr['v'];
if ($key === 'randomise') {
PConfig::delete($uid, $family, $key);
DI::pConfig()->delete($uid, $family, $key);
}
if ($key === 'show_on_profile') {
@@ -143,7 +143,7 @@ function update_1191()
DI::pConfig()->set($uid, feature, forumlist_profile, $value);
}
PConfig::delete($uid, $family, $key);
DI::pConfig()->delete($uid, $family, $key);
}
if ($key === 'show_on_network') {
@@ -151,7 +151,7 @@ function update_1191()
DI::pConfig()->set($uid, feature, forumlist_widget, $value);
}
PConfig::delete($uid, $family, $key);
DI::pConfig()->delete($uid, $family, $key);
}
}
}