no need to init $result twice
[squirrelmail.git] / functions / file_prefs.php
index be52c4a3391b1e15f77e2bf2e1df9f066afebdc6..41299493e82e1dc7734312e4bef67e5369b8b8b6 100644 (file)
@@ -78,7 +78,6 @@ function cachePrefValues($data_dir, $username) {
 function getPref($data_dir, $username, $string, $default = '') {
     global $prefs_cache;
 
-    $result = '';
     $result = do_hook_function('get_pref_override',array($username,$string));
     if (!$result) {
        cachePrefValues($data_dir, $username);