[4638] trunk/htdocs/system/classes/logentry.php: Calling DB::table() is redundant (and may have been causing me a problem) - the string is substituted into DB::insert() later on, which uses {bracket} notation to translate it.

0 views
Skip to first unread message

svn-N...@habariproject.org

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

Log Message

Calling DB::table() is redundant (and may have been causing me a problem) - the string is substituted into DB::insert() later on, which uses {bracket} notation to translate it.

Modified Paths

Diff

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


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