diff options
author | Michal Čihař <michal@cihar.com> | 2016-02-24 12:07:09 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-12-21 15:02:37 +0100 |
commit | 865eb2ec94d0df05adacf06e540eaf6b03daf6ed (patch) | |
tree | 26a9fdffd5753634b7c2b4c846c068cad30a8299 /src | |
parent | f97bf2d90344104d61f80bb342bfbb6bff2855ae (diff) | |
download | sql-parser-865eb2ec94d0df05adacf06e540eaf6b03daf6ed.zip sql-parser-865eb2ec94d0df05adacf06e540eaf6b03daf6ed.tar.gz sql-parser-865eb2ec94d0df05adacf06e540eaf6b03daf6ed.tar.bz2 |
Use motranslator to provide __ function
This makes it work transparently with or without phpMyAdmin.
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/common.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/common.php b/src/common.php index 3575c24..94b248c 100644 --- a/src/common.php +++ b/src/common.php @@ -7,15 +7,5 @@ */ if (!function_exists('__')) { - /** - * Translates the given string. - * - * @param string $str String to be translated. - * - * @return string - */ - function __($str) - { - return $str; - } + MoTranslator\Loader::load_functions(); } |