[Phpmyadmin-devel] Some useless code in PMA_fatalError

Piotr Przybylski piotrprz at gmail.com
Tue Jul 8 18:02:03 CEST 2008


While going through PMA code I found some useless parts in
PMA_fatalError (core.lib.php):

1. I don't see strError in select_lang.lib.php
        if (isset($strError)) {
            $GLOBALS['strError'] = $strError;
        }

2. It's already made global in select_lang.lib.php
        if (isset($text_dir)) {
            $GLOBALS['text_dir'] = $text_dir;
        }

Can somebody check it?

-- 
Regards,
Piotr




More information about the Developers mailing list