[Tickets #12207] Wrong arguments passed to storage->remove() in prefs->remove()

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Apr 23 09:50:23 UTC 2013


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/12207
------------------------------------------------------------------------------
  Ticket           | 12207
  Erstellt Von     | manuel at mausz.at
  Zusammenfassung  | Wrong arguments passed to storage->remove() in
                   | prefs->remove()
  Warteschlange    | Horde Base
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


manuel at mausz.at (2013-04-23 09:50) hat geschrieben:

The subject says it all:
Signature in Horde/Prefs/Storage/Base.php:
abstract public function remove($scope = null, $pref = null);
(  
https://github.com/horde/horde/blob/master/framework/Prefs/lib/Horde/Prefs/Storage/Base.php#L86  
)

Call in Horde/Prefs.php:
$storage->remove($prefname);
(  
https://github.com/horde/horde/blob/master/framework/Prefs/lib/Horde/Prefs.php#L167  
)

Fix:
Change
$storage->remove($prefname);
to
$storage->remove($scope->scope, $prefname);





More information about the bugs mailing list