Changeset 19621


Ignore:
Timestamp:
12/28/12 20:28:04 (7 years ago)
Author:
julien1311
Message:

remove mysql to pwg_db

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/File_Uploader/admin/admin_upload.php

    r19472 r19621  
    6464                        $file_uploader_errors['upload_error'] = l10n('Unable to create folder ').$file_uploader_file_directory; 
    6565        //If the physical category si not in database, we add it 
    66         if (mysql_num_rows(pwg_query('SELECT id FROM '.CATEGORIES_TABLE.' WHERE name = "'.$file_uploader_destination_folder[$file_uploader_file_extension].'";')) == 0){ 
     66        if (pwg_db_num_rows(pwg_query('SELECT id FROM '.CATEGORIES_TABLE.' WHERE name = "'.$file_uploader_destination_folder[$file_uploader_file_extension].'";')) == 0){ 
    6767                $next_id = pwg_db_nextval('id', CATEGORIES_TABLE); 
    6868                $category_rank = pwg_db_fetch_assoc(pwg_query('SELECT MAX(rank) FROM '.CATEGORIES_TABLE.';')); 
Note: See TracChangeset for help on using the changeset viewer.