Changeset 5059 for branches/2.2/phpgwapi
- Timestamp:
- 09/06/11 11:55:20 (13 years ago)
- Location:
- branches/2.2/phpgwapi/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/inc/class.vfs_shared.inc.php
r2 r5059 419 419 420 420 /*! 421 * @function get_size_all 422 * @abstract Determine size of location 423 * @owner_id string uid owner 424 */ 425 426 function get_size_all($owner_id) { return 0; } 427 428 /*! 421 429 * @function get_size 422 430 * @abstract Determine size of location -
branches/2.2/phpgwapi/inc/class.vfs_sql.inc.php
r3743 r5059 2512 2512 return $size; 2513 2513 } 2514 2515 function get_size_all($owner_id) 2516 { 2517 $query = $GLOBALS['phpgw']->db->query ("SELECT Sum(size) FROM phpgw_vfs WHERE owner_id = '".$owner_id."'" . 2518 $this->extra_sql(array ('query_text' => VFS_SQL_SELECT))); 2519 $GLOBALS['phpgw']->db->next_record (); 2520 2521 $size = $GLOBALS['phpgw']->db->Record[0]; 2522 2523 return $size; 2524 } 2514 2525 2515 2526 /*return the total number of files in path*/
Note: See TracChangeset
for help on using the changeset viewer.