summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-09-13 13:05:13 +0200
committerAndrey Andreev <narf@devilix.net>2013-09-13 13:05:13 +0200
commit838c9a96f645aac24daa31285efa1051535c4219 (patch)
tree15ad3da48e09aee1bfc29d18dd771126a29dd2f6 /system/core/Common.php
parent9b34448a295cac42273439e7cadb284bd3fe1a4d (diff)
Drop the unused parameter from log_message() / CI_Log::write_log()
Diffstat (limited to 'system/core/Common.php')
-rw-r--r--system/core/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index edfad99c5..cf81e3fb5 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -432,7 +432,7 @@ if ( ! function_exists('log_message'))
* @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 @@ if ( ! function_exists('log_message'))
$_log[0] =& load_class('Log', 'core');
}
- $_log[0]->write_log($level, $message, $php_error);
+ $_log[0]->write_log($level, $message);
}
}