function __construct() { parent::__construct(); $this->connection = \OC::$server->getDatabaseConnection(); }