From aa6cfcc76e99dd161e968a012762de47642ff146 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Wed, 19 Sep 2012 08:42:11 +0100 Subject: [PATCH] No need for if condition here Removed if checks and else conditions in a couple of places --- lib/settings-screen.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/settings-screen.php b/lib/settings-screen.php index f3d7ec0..bc2e15d 100644 --- a/lib/settings-screen.php +++ b/lib/settings-screen.php @@ -52,7 +52,7 @@ for ($i=0;$i
file manager root:
- +



ICE coder by Matt Pass (@mattpass)

@@ -202,7 +202,6 @@ var showHideTabs = function() { } var validatePasswords = function() { - if (document.settings.accountPassword.value != 0 && document.settings.accountPassword.value.length<8) { top.ICEcoder.message('Please use at least 8 chars in the password'); } else { @@ -212,9 +211,6 @@ var validatePasswords = function() { document.settings.submit(); } } - - top.ICEcoder.message('Sorry, you need to be logged in to change settings'); - }