فهرست منبع

no need to init $result twice

robsiemb 23 سال پیش
والد
کامیت
c67d301d2a
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      functions/file_prefs.php

+ 0 - 1
functions/file_prefs.php

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