Changeset 31030


Ignore:
Timestamp:
03/12/15 20:46:33 (4 years ago)
Author:
rvelices
Message:

use query2array + removed unused declaration

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative_std_params.inc.php

    r26461 r31030  
    202202  static function save() 
    203203  { 
    204     global $conf; 
    205  
    206204    $ser = serialize( array( 
    207205      'd' => self::$type_map, 
  • trunk/include/functions_category.inc.php

    r28587 r31030  
    336336  $query.= ' 
    337337;'; 
    338   return array_from_query($query, 'id'); 
     338  return query2array($query, null, 'id'); 
    339339} 
    340340 
     
    542542    // private album A1/A2 permitted to user U1 but private album A1 not 
    543543    // permitted to U1. 
    544     //  
     544    // 
    545545    // TODO 2.7: add an upgrade script to repair permissions and remove this 
    546546    // test 
Note: See TracChangeset for help on using the changeset viewer.