api: fix API_LEVEL
This commit is contained in:
parent
791780621b
commit
a3b5394aaf
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class API extends Handler {
|
|||
}
|
||||
|
||||
function getApiLevel() {
|
||||
$rv = array("level" => API_LEVEL);
|
||||
$rv = array("level" => self::API_LEVEL);
|
||||
print $this->wrap(self::STATUS_OK, $rv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue