mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 11:15:22 +00:00
24 lines
388 B
PHP
24 lines
388 B
PHP
|
<?php
|
||
|
|
||
|
namespace Zotlabs\Update;
|
||
|
|
||
|
class _1237 {
|
||
|
|
||
|
function run() {
|
||
|
q("update app set app_url = '%s' where app_url = '%s' ",
|
||
|
dbesc(z_root() . '/stream'),
|
||
|
dbesc(z_root() . '/network')
|
||
|
);
|
||
|
q("update app set app_url = '%s' where app_url = '%s' ",
|
||
|
dbesc('$baseurl/stream'),
|
||
|
dbesc('$baseurl/network')
|
||
|
);
|
||
|
|
||
|
return UPDATE_SUCCESS;
|
||
|
}
|
||
|
|
||
|
function verify() {
|
||
|
return true;
|
||
|
}
|
||
|
}
|