Changeset 665 for trunk/lib/Prefs.inc.php
- Timestamp:
- Feb 10, 2019 9:48:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Prefs.inc.php
r653 r665 178 178 179 179 // CLI scripts can't use prefs stored in HTTP-based protocols. 180 if ($app-> cli180 if ($app->isCLI() 181 181 && isset($params['storagetype']) 182 182 && in_array($params['storagetype'], array('cookie', 'session'))) { 183 $app->logMsg(sprintf('Storage type %s not available for CLI', $params['storagetype']), LOG_ NOTICE, __FILE__, __LINE__);183 $app->logMsg(sprintf('Storage type %s not available for CLI', $params['storagetype']), LOG_DEBUG, __FILE__, __LINE__); 184 184 } 185 185 … … 503 503 // Skip this method if not using the db. 504 504 if ('database' != $this->getParam('storagetype')) { 505 $app->logMsg('Prefs->load() does nothing unless using a database storagetype.', LOG_ NOTICE, __FILE__, __LINE__);505 $app->logMsg('Prefs->load() does nothing unless using a database storagetype.', LOG_DEBUG, __FILE__, __LINE__); 506 506 return true; 507 507 } … … 559 559 { 560 560 if ('database' != $this->getParam('storagetype')) { 561 $app->logMsg('Prefs->_isLoaded() does nothing unless using a database storagetype.', LOG_ NOTICE, __FILE__, __LINE__);561 $app->logMsg('Prefs->_isLoaded() does nothing unless using a database storagetype.', LOG_DEBUG, __FILE__, __LINE__); 562 562 return true; 563 563 }
Note: See TracChangeset
for help on using the changeset viewer.