]> andersk Git - sql-web.git/blobdiff - lib/security.lib.php
Use nDatabasesHard instead of MAXDBS
[sql-web.git] / lib / security.lib.php
index 98fdd51bb855ebea983fd7c42ca1320753f3d630..ee5cf37fa0ccefddb7257956c1c08509c0832f3c 100644 (file)
@@ -126,6 +126,9 @@ class User {
     function isOverQuota() {
         return $this->exists()?($this->info['bOverQuota']>0?true:false):'';
     }
+    function getDBQuotaHard() {
+        return $this->exists()?$this->info['nDatabasesHard']:0;
+    }
     function getBytes() {
         if($this->exists()) {
                        $arr['nBytes'] = $this->info['nBytes'];
This page took 0.031871 seconds and 4 git commands to generate.