mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
removed redundant static realtime
This commit is contained in:
@@ -204,12 +204,6 @@ if (!function_exists('getRealtime')) {
|
||||
return $ctx['getRealtime'];
|
||||
}
|
||||
|
||||
static $realtime = null;
|
||||
|
||||
if ($realtime !== null) {
|
||||
return $realtime;
|
||||
}
|
||||
|
||||
return $ctx['getRealtime'] = new Realtime();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user