Move PConfig::delete() to DI::pConfig()->delete()
This commit is contained in:
parent
88bb66371c
commit
b5c0df439f
4 changed files with 10 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue