(bug 50078) Allow a string other than '*' as condition for DatabaseBase::delete()
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 25 Jun 2013 14:15:45 +0000 (16:15 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 25 Jun 2013 14:15:45 +0000 (16:15 +0200)
commitb18770232c679482e0c7bf775b84eda5f7f3b782
tree8a1e12aae0577300b8a9eec9cdc2c4fe2f1ee071
parent505dbb331e16a03d87cb4511ee86df12ea295c40
(bug 50078) Allow a string other than '*' as condition for DatabaseBase::delete()

Currently, either '*' is given as condition meaning "everything" or an array must
be passed since DatabaseBase::makeList() requires an array. Now the parameter is
consistent with one of other similar methods, since a string will be handled
correctly.

Bug: 50078
Change-Id: Id5a8220d21245669f1091a3b5ed1def65b22d375
includes/db/Database.php