6.0.0-alpha14
6/18/25

[#12994] horde-remove-user-data yes/no prompt always yes
Summary horde-remove-user-data yes/no prompt always yes
Queue Horde Base
Queue Version 5.1.5
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de
Created 02/26/2014 (4130 days ago)
Due
Updated 03/03/2014 (4125 days ago)
Assigned
Resolved 02/27/2014 (4129 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/03/2014 09:34:10 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_1):

commit 8b1428afa0abe0c33a8b5684f549d93b5d8e425f
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Feb 26 23:23:03 2014 -0700

     Bug #12994: Fix logic

  horde/bin/horde-remove-user-data |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/8b1428afa0abe0c33a8b5684f549d93b5d8e425f
02/27/2014 06:24:16 AM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Horde 5.2.0
02/27/2014 06:24:08 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 5d93ee42dd7d5ef075d69395de95fe415e10a26b
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Feb 26 23:23:03 2014 -0700

     Bug #12994: Fix logic

  horde/bin/horde-remove-user-data |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/5d93ee42dd7d5ef075d69395de95fe415e10a26b
02/26/2014 03:36:43 PM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ horde-remove-user-data yes/no prompt always yes
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
The prompt has to be written like that with my PHP version (note the ! 
went to !=):

if ($cli->prompt($cli->red('Are you sure you want to remove user 
data?'), array('y' => 'Yes', 'n' => 'No'), 'n') != 'y') {

Otherwise the if() is always false and the data is removed.

Saved Queries