api: fix API_LEVEL

This commit is contained in:
Andrew Dolgov 2011-12-13 16:51:49 +04:00
parent 791780621b
commit a3b5394aaf

View file

@ -42,7 +42,7 @@ class API extends Handler {
} }
function getApiLevel() { function getApiLevel() {
$rv = array("level" => API_LEVEL); $rv = array("level" => self::API_LEVEL);
print $this->wrap(self::STATUS_OK, $rv); print $this->wrap(self::STATUS_OK, $rv);
} }