Changeset 653 for trunk/lib/Prefs.inc.php
- Timestamp:
- Nov 28, 2018 1:40:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Prefs.inc.php
r644 r653 518 518 // User_id must not be empty. 519 519 if ('' == $this->getParam('user_id')) { 520 $app->logMsg(sprintf('Cannot saveprefs because user_id not set.', null), LOG_WARNING, __FILE__, __LINE__);520 $app->logMsg(sprintf('Cannot load prefs because user_id not set.', null), LOG_WARNING, __FILE__, __LINE__); 521 521 return false; 522 522 } … … 591 591 // Skip this method if not using the db. 592 592 if ('database' != $this->getParam('storagetype')) { 593 $app->logMsg('Prefs->save() does nothing unless using a database storagetype.', LOG_ NOTICE, __FILE__, __LINE__);593 $app->logMsg('Prefs->save() does nothing unless using a database storagetype.', LOG_DEBUG, __FILE__, __LINE__); 594 594 return true; 595 595 } … … 597 597 // User_id must not be empty. 598 598 if ('' == $this->getParam('user_id')) { 599 $app->logMsg(sprintf('Cannot save prefs because user_id not set.', null), LOG_ WARNING, __FILE__, __LINE__);599 $app->logMsg(sprintf('Cannot save prefs because user_id not set.', null), LOG_DEBUG, __FILE__, __LINE__); 600 600 return false; 601 601 }
Note: See TracChangeset
for help on using the changeset viewer.