Changeset 428 for bureau/class/m_mysql.php
- Timestamp:
- 02/22/06 00:17:37 (7 years ago)
- File:
-
- 1 edited
-
bureau/class/m_mysql.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bureau/class/m_mysql.php
r427 r428 1 1 <?php 2 2 /* 3 $Id: m_mysql.php,v 1.1 8 2004/10/24 19:05:14anonymous Exp $3 $Id: m_mysql.php,v 1.19 2004/10/24 19:52:00 anonymous Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 348 348 /* ----------------------------------------------------------------- */ 349 349 /** 350 * AlternC's standard function that returns a user's qutoa 351 */ 352 function alternc_get_quota() { 350 * Returns the used quota for the $name service for the current user. 351 * @param $name string name of the quota 352 * @return integer the number of service used or false if an error occured 353 * @access private 354 */ 355 function alternc_get_quota($name) { 353 356 global $err,$db,$cuid; 354 $err->log("mysql","alternc_get_quota"); 355 $c=$this->get_dblist(); 356 if (is_array($c)) { 357 return count($c); 358 } else { 359 return 0; 360 } 357 if ($name=="mysql") { 358 $err->log("mysql","alternc_get_quota"); 359 $c=$this->get_dblist(); 360 if (is_array($c)) { 361 return count($c); 362 } else { 363 return 0; 364 } 365 } else return false; 361 366 } 362 367
Note: See TracChangeset
for help on using the changeset viewer.
