missed a global
This commit is contained in:
parent
6632521218
commit
d820f9a927
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ class Update extends Extension {
|
|||
}
|
||||
|
||||
private function get_latest_commit() {
|
||||
global $config;
|
||||
|
||||
if(!function_exists("curl_init")) return null;
|
||||
|
||||
//Grab latest info via JSON.
|
||||
|
|
Reference in a new issue