Drop the unused parameter from log_message() / CI_Log::write_log()
diff --git a/system/core/Common.php b/system/core/Common.php
index edfad99..cf81e3f 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -432,7 +432,7 @@
* @param bool whether the error is a native PHP error
* @return void
*/
- function log_message($level, $message, $php_error = FALSE)
+ function log_message($level, $message)
{
static $_log;
@@ -442,7 +442,7 @@
$_log[0] =& load_class('Log', 'core');
}
- $_log[0]->write_log($level, $message, $php_error);
+ $_log[0]->write_log($level, $message);
}
}