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...
--- 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();