Changeset 532 for trunk/lib/DB.inc.php
- Timestamp:
- Jul 13, 2015 8:11:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DB.inc.php
r502 r532 378 378 public function columnExists($table, $columns, $strict=true, $use_cached_results=true) 379 379 { 380 if (!$this->_connected) { 380 $app =& App::getInstance(); 381 382 if (!$this->_connected) { 383 $app->logMsg(sprintf('No DB connection to run %s', __METHOD__), LOG_NOTICE, __FILE__, __LINE__); 381 384 return false; 382 385 } … … 384 387 // Ensure the table exists. 385 388 if (!$this->tableExists($table, $use_cached_results)) { 389 $app->logMsg(sprintf('Table does not exist: %s', $table), LOG_DEBUG, __FILE__, __LINE__); 386 390 return false; 387 391 }
Note: See TracChangeset
for help on using the changeset viewer.