phpBB

Code Changes

File: phpbb/db/migration/data/v320/remove_outdated_media.php

  Unmodified   Added   Modified   Removed
Line 85Line 85
				WHERE ' . $this->db->sql_in_set('group_id', $group_ids);
}


				WHERE ' . $this->db->sql_in_set('group_id', $group_ids);
}


		$result = $this->db->sql_query($sql);
$this->db->sql_freeresult($result);

		$this->db->sql_query($sql);



// delete the now empty, outdated media extension groups
$sql = 'DELETE FROM ' . EXTENSION_GROUPS_TABLE . '
WHERE ' . $this->db->sql_in_set('group_id', $group_ids);


// delete the now empty, outdated media extension groups
$sql = 'DELETE FROM ' . EXTENSION_GROUPS_TABLE . '
WHERE ' . $this->db->sql_in_set('group_id', $group_ids);

		$result = $this->db->sql_query($sql);
$this->db->sql_freeresult($result);

		$this->db->sql_query($sql);


	}
}


	}
}