1
0
Fork 0

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

This commit is contained in:
Philipp Holzer 2020-01-18 16:56:46 +01:00
commit b5c0df439f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
4 changed files with 10 additions and 23 deletions

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);
}
}
}