Replace global $a with BaseObject::getApp()
This commit is contained in:
parent
d0780ccf7d
commit
820afa2284
17 changed files with 51 additions and 56 deletions
|
@ -944,8 +944,6 @@ function admin_page_site_post(App $a)
|
|||
|
||||
function update_table($table_name, $fields, $old_url, $new_url)
|
||||
{
|
||||
global $a;
|
||||
|
||||
$dbold = dbesc($old_url);
|
||||
$dbnew = dbesc($new_url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue