[Bug 27716] Make a method to do checking of 0 or 1 of the parameters existence (like requireOnlyOneParameter), but without needing one of the parameters

2011-06-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27716 Reedy s...@reedyboy.net changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 27716] Make a method to do checking of 0 or 1 of the parameters existence (like requireOnlyOneParameter), but without needing one of the parameters

2011-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27716 --- Comment #1 from Reedy s...@reedyboy.net 2011-03-19 23:34:45 UTC --- I'm trying to remember my use case for this one now. HM -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this

[Bug 27716] Make a method to do checking of 0 or 1 of the parameters existence (like requireOnlyOneParameter), but without needing one of the parameters

2011-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=27716 --- Comment #2 from Reedy s...@reedyboy.net 2011-03-19 23:38:52 UTC --- OH if ( isset( $params['users'] ) isset( $params['ip'] ) ) { $this-dieUsage( 'bkusers and bkip cannot be used together', 'usersandip' ); }