forked from GNUsocial/gnu-social
		
	LOG_ERROR
darcs-hash:20080718191019-84dde-8b16ec097fedfb3a4366e4c4317248452b368bfc.gz
This commit is contained in:
		@@ -88,7 +88,7 @@ class MailerDaemon {
 | 
				
			|||||||
		$id = $notice->insert();
 | 
							$id = $notice->insert();
 | 
				
			||||||
		if (!$id) {
 | 
							if (!$id) {
 | 
				
			||||||
			$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
 | 
								$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
 | 
				
			||||||
			$this->log(LOG_ERROR,
 | 
								$this->log(LOG_ERR,
 | 
				
			||||||
					   'Could not insert ' . common_log_objstring($notice) .
 | 
										   'Could not insert ' . common_log_objstring($notice) .
 | 
				
			||||||
					   ' for user ' . common_log_objstring($user) .
 | 
										   ' for user ' . common_log_objstring($user) .
 | 
				
			||||||
					   ': ' . $last_error->message);
 | 
										   ': ' . $last_error->message);
 | 
				
			||||||
@@ -99,7 +99,7 @@ class MailerDaemon {
 | 
				
			|||||||
		$result = $notice->update($orig);
 | 
							$result = $notice->update($orig);
 | 
				
			||||||
		if (!$result) {
 | 
							if (!$result) {
 | 
				
			||||||
			$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
 | 
								$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
 | 
				
			||||||
			$this->log(LOG_ERROR,
 | 
								$this->log(LOG_ERR,
 | 
				
			||||||
					   'Could not add URI to ' . common_log_objstring($notice) .
 | 
										   'Could not add URI to ' . common_log_objstring($notice) .
 | 
				
			||||||
					   ' for user ' . common_log_objstring($user) .
 | 
										   ' for user ' . common_log_objstring($user) .
 | 
				
			||||||
					   ': ' . $last_error->message);
 | 
										   ': ' . $last_error->message);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user