api: fix API_LEVEL

This commit is contained in:
Andrew Dolgov 2011-12-13 16:51:49 +04:00
parent 791780621b
commit a3b5394aaf
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}