X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fchange_password%2Foptions.php;h=d4c8659aad3a6be7c692be843ee78cb349680a58;hp=4400a015224c461e1298fc4e155c38bb80714403;hb=567d419923235fe370ba4f18ce762f70d6dcae82;hpb=4588f43defbad726d307820e8126cf8cabc886ca diff --git a/plugins/change_password/options.php b/plugins/change_password/options.php index 4400a015..d4c8659a 100644 --- a/plugins/change_password/options.php +++ b/plugins/change_password/options.php @@ -53,13 +53,6 @@ if (file_exists(SM_PATH . 'plugins/change_password/backend/'.$cpw_backend.'.php' /* the form was submitted, go for it */ if(sqgetGlobalVar('cpw_go', $cpw_go, SQ_POST)) { - - // SM14 code: use change_password gettext domain binding for 1.4.x - if (! check_sm_version(1,5,0)) { - bindtextdomain('change_password',SM_PATH . 'locale'); - textdomain('change_password'); - } - /* perform basic checks */ $Messages = cpw_check_input(); @@ -67,22 +60,10 @@ if(sqgetGlobalVar('cpw_go', $cpw_go, SQ_POST)) { if(count($Messages) == 0) { $Messages = cpw_do_change(); } - - // SM14 code: use change_password gettext domain binding for 1.4.x - if (! check_sm_version(1,5,0)) { - bindtextdomain('squirrelmail',SM_PATH . 'locale'); - textdomain('squirrelmail'); - } } displayPageHeader($color, 'None'); -// SM14 code: use change_password gettext domain binding for 1.4.x -if (! check_sm_version(1,5,0)) { - bindtextdomain('change_password',SM_PATH . 'locale'); - textdomain('change_password'); -} - do_hook('change_password_init'); ?>