Update api.class.php

Forgot "return" in front of "false" in the constructor