mirror of
https://github.com/friendica/friendica
synced 2025-04-25 04:30:11 +00:00
Replace global $a with BaseObject::getApp()
This commit is contained in:
parent
d0780ccf7d
commit
820afa2284
17 changed files with 51 additions and 56 deletions
|
@ -16,10 +16,10 @@ use Friendica\Util\Network;
|
|||
* Checking the upstream version is optional (opt-in) and can be done to either
|
||||
* the master or the develop branch in the repository.
|
||||
*/
|
||||
class CheckVersion {
|
||||
public static function execute() {
|
||||
global $a;
|
||||
|
||||
class CheckVersion
|
||||
{
|
||||
public static function execute()
|
||||
{
|
||||
logger('checkversion: start');
|
||||
|
||||
$checkurl = Config::get('system', 'check_new_version_url', 'none');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue