Code Duplication    Length = 12-12 lines in 2 locations

sources/database/Db-mysql.class.php 2 locations

@@ 1144-1155 (lines=12) @@
1141
	 * @return string - the version
1142
	 * @throws Elk_Exception
1143
	 */
1144
	public function db_server_version()
1145
	{
1146
		$request = $this->query('', '
1147
			SELECT VERSION()',
1148
			array(
1149
			)
1150
		);
1151
		list ($ver) = $this->fetch_row($request);
1152
		$this->free_result($request);
1153
1154
		return $ver;
1155
	}
1156
1157
	/**
1158
	 * Get the name (title) of the database system.
@@ 1223-1234 (lines=12) @@
1220
	 * @return string - the version
1221
	 * @throws Elk_Exception
1222
	 */
1223
	public function db_client_version()
1224
	{
1225
		$request = $this->query('', '
1226
			SELECT VERSION()',
1227
			array(
1228
			)
1229
		);
1230
		list ($ver) = $this->fetch_row($request);
1231
		$this->free_result($request);
1232
1233
		return $ver;
1234
	}
1235
1236
	/**
1237
	 * Select database.