diff options
author | vlakoff <vlakoff@gmail.com> | 2013-05-07 07:49:23 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-05-07 07:51:59 +0200 |
commit | d0c30ab416b0f6bc7fdc9ea70f6fd5e07ac13884 (patch) | |
tree | 2e7a675a4123e031a0524547c7d833a8437256d0 /tests | |
parent | 206d951e3da15bf9c69b3b8860c8bd274fb82b6f (diff) |
Logging functions: level parameter is not optional
This parameter cannot be optional, as the following parameter is mandatory.
Also completed the corresponding documentation.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mocks/core/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mocks/core/common.php b/tests/mocks/core/common.php index 24d645ae3..0ccfe1ea4 100644 --- a/tests/mocks/core/common.php +++ b/tests/mocks/core/common.php @@ -178,7 +178,7 @@ if ( ! function_exists('is_loaded')) if ( ! function_exists('log_message')) { - function log_message($level = 'error', $message, $php_error = FALSE) + function log_message($level, $message, $php_error = FALSE) { return TRUE; } |