Changeset 2471 for trunk/framework/I18N/core/MessageSource_Database.php
- Timestamp:
- 07/01/2008 08:45:46 AM (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/I18N/core/MessageSource_Database.php
r2470 r2471 1 1 <?php 2 2 /** 3 * MessageSource_ MySQLclass file.3 * MessageSource_Database class file. 4 4 * 5 5 * This program is free software; you can redistribute it and/or modify … … 21 21 22 22 /** 23 * MessageSource_ MySQLclass.24 * 25 * Retrive the message translation from a MySQLdatabase.23 * MessageSource_Database class. 24 * 25 * Retrive the message translation from a database. 26 26 * 27 27 * See the MessageSource::factory() method to instantiate this class. … … 195 195 $command->bindParameter(':moddate',$time,PDO::PARAM_INT); 196 196 $command->bindParameter(':catid',$cat_id,PDO::PARAM_INT); 197 $ command->execute();197 $result=$command->execute(); 198 198 199 199 if(!empty($this->cache)) … … 236 236 foreach($messages as $message) 237 237 { 238 if (empty($message)) continue; 238 239 $count++; $inserted++; 239 240 $command->execute();
