no need to init $result twice
authorrobsiemb <robsiemb@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 16 Oct 2002 14:51:26 +0000 (14:51 +0000)
committerrobsiemb <robsiemb@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 16 Oct 2002 14:51:26 +0000 (14:51 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3877 7612ce4b-ef26-0410-bec9-ea0150e637f0

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);