Marius Cramer
2015-01-30 8425758229434b37442a9af5cf3cbe210cc696b4
interface/lib/classes/remote.d/sites.inc.php
@@ -966,6 +966,19 @@
      return $app->quota_lib->get_quota_data($client_id, false);
   }
   
   public function databasequota_get_by_user($session_id, $client_id)
   {
      global $app;
      $app->uses('quota_lib');
      if(!$this->checkPerm($session_id, 'databasequota_get_by_user')) {
         $this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
         return false;
      }
      return $app->quota_lib->get_databasequota_data($client_id, false);
   }
   
}