* @return string
*/
function makeUpdateOptions( $options ) {
+ if( !is_array( $options ) ) {
+ wfDebugDieBacktrace( 'makeUpdateOptions given non-array' );
+ }
$opts = array();
if ( in_array( 'LOW_PRIORITY', $options ) )
$opts[] = $this->lowPriorityOption();
/**
* @todo document
*/
- function &resultObject( &$result ) {
+ function resultObject( &$result ) {
if( empty( $result ) ) {
return NULL;
} else {
/**
* @todo document
*/
- function &fetchObject() {
+ function fetchObject() {
return $this->db->fetchObject( $this->result );
}