[4639] trunk/htdocs/system/classes/logentry.php: Revert the change I just made in r4638, I was mistaken - it looks like that might have been the intention from the PHPDoc , but the notation is incorrect.

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Nov 27, 2010, 7:28:27 PM11/27/10
to habar...@googlegroups.com
Revision
4639
Author
chrismeller
Date
2010-11-28 00:28:26 +0000 (Sun, 28 Nov 2010)

Log Message

Revert the change I just made in r4638, I was mistaken - it looks like that might have been the intention from the PHPDoc, but the notation is incorrect. DB::table() is required...

Modified Paths

Diff

Modified: trunk/htdocs/system/classes/logentry.php (4638 => 4639)


--- trunk/htdocs/system/classes/logentry.php	2010-11-28 00:17:03 UTC (rev 4638)
+++ trunk/htdocs/system/classes/logentry.php	2010-11-28 00:28:26 UTC (rev 4639)
@@ -219,7 +219,7 @@
 		}
 
 		Plugins::filter( 'insert_logentry', $this );
-		parent::insertRecord( 'log' );
+		parent::insertRecord( DB::table( 'log' ) );
 		
 		$this->id = DB::last_insert_id();
 		
Reply all
Reply to author
Forward
0 new messages