The $query param should be optional (be declared as `$query = null`) because we are Not even executing a query here. If the Parameter is required, thats a different issue. 



"Thomas Müller" <notifications@github.com> schrieb:
>> +		$CONFIG_DBHOST = OC_Config::getValue('dbhost', '');
>> +
>> +		if( $CONFIG_DBTYPE === 'oci'
>> +			&& $CONFIG_DBNAME === ''
>> +			&& ! empty($CONFIG_DBHOST)
>> +		) {
>> +			// we are connecting by user name, pwd and SID (host)
>> +			$CONFIG_DBUSER = OC_Config::getValue('dbuser', '');
>> +			$CONFIG_DBPASSWORD = OC_Config::getValue('dbpassword');
>> +			if ($CONFIG_DBUSER !== ''
>> +				&& $CONFIG_DBPASSWORD !== ''
>> +			) {
>> +				// use dbuser as dbname
>> +				$CONFIG_DBNAME = $CONFIG_DBUSER;
>> +			} else {
>> +				throw new DatabaseException('Please specify '
>
>missing second argument $query
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/owncloud/core/pull/5725/files#r7529956

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.