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

This commit is contained in:
nupplaPhil 2020-01-18 16:50:56 +01:00
parent 2a35176588
commit ea3a9052d8
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
42 changed files with 414 additions and 412 deletions

View file

@ -43,7 +43,7 @@ function remote_permissions_settings(&$a,&$o) {
/* Get the current state of our config variable */
$remote_perms = PConfig::get(local_user(),'remote_perms','show');
$remote_perms = DI::pConfig()->get(local_user(),'remote_perms','show');
/* Add some HTML to the existing form */
@ -94,7 +94,7 @@ function remote_permissions_content($a, $item_copy) {
if(! $r)
return;
if(PConfig::get($r[0]['uid'],'remote_perms','show') == 0)
if(DI::pConfig()->get($r[0]['uid'],'remote_perms','show') == 0)
return;
}