includes/lang.php
changeset 613 c08670a77871
parent 607 935f3799b654
child 616 e311f5e6f904
equal deleted inserted replaced
612:3e73e4996d64 613:c08670a77871
   552     
   552     
   553     // Update timestamp in database
   553     // Update timestamp in database
   554     $q = $db->sql_query('UPDATE ' . table_prefix . 'language SET last_changed = ' . time() . ' WHERE lang_id = ' . $this->lang_id . ';');
   554     $q = $db->sql_query('UPDATE ' . table_prefix . 'language SET last_changed = ' . time() . ' WHERE lang_id = ' . $this->lang_id . ';');
   555     if ( !$q )
   555     if ( !$q )
   556       $db->_die('lang.php - updating timestamp on language');
   556       $db->_die('lang.php - updating timestamp on language');
       
   557     
       
   558     return true;
   557   }
   559   }
   558   
   560   
   559   /**
   561   /**
   560    * Calls var_export() on whatever, and returns the function's output.
   562    * Calls var_export() on whatever, and returns the function's output.
   561    * @param mixed Whatever you want var_exported. Usually an array.
   563    * @param mixed Whatever you want var_exported. Usually an array.