diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-07-04 14:05:03 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-07-04 14:05:03 +0200 |
| commit | 6776feb0de667340d640744462d00436f893c45f (patch) | |
| tree | 4987167fc5aa64a4c4a8386fda61e69ecd30f284 /phpBB/includes/db/dbal.php | |
| parent | fe1f21d1a55ac15b278d99c3a73a8e3424a38fd5 (diff) | |
| download | forums-6776feb0de667340d640744462d00436f893c45f.tar forums-6776feb0de667340d640744462d00436f893c45f.tar.gz forums-6776feb0de667340d640744462d00436f893c45f.tar.bz2 forums-6776feb0de667340d640744462d00436f893c45f.tar.xz forums-6776feb0de667340d640744462d00436f893c45f.zip | |
[ticket/10942] Add access modifiers
PHPBB3-10942
Diffstat (limited to 'phpBB/includes/db/dbal.php')
| -rw-r--r-- | phpBB/includes/db/dbal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php index fded27a001..159703d3be 100644 --- a/phpBB/includes/db/dbal.php +++ b/phpBB/includes/db/dbal.php @@ -293,7 +293,7 @@ class dbal * @param string $action_else SQL expression that is used, if the condition is false, optional * @return string CASE expression including the condition and statements */ - function sql_case($condition, $action_true, $action_false = false) + public function sql_case($condition, $action_true, $action_false = false) { $sql_case = 'CASE WHEN ' . $condition; $sql_case .= ' THEN ' . $action_true; @@ -309,7 +309,7 @@ class dbal * @param string $expr2 SQL expression that is appended to the first expression * @return string Concatenated string */ - function sql_concatenate($expr1, $expr2) + public function sql_concatenate($expr1, $expr2) { return $expr1 . ' || ' . $expr2; } |
