Rmoeve more unused leftovers from 1.0 to 2.0.

This commit is contained in:
int2001
2024-02-07 17:38:57 +00:00
parent 493cc65e20
commit fbb377e7ec
3 changed files with 0 additions and 47 deletions

View File

@@ -193,26 +193,6 @@ class Stations extends CI_Model {
$this->db->delete($this->config->item('table_name'));
}
function ClaimAllStationLocations($id = NULL) {
// if $id is empty then use session user_id
if (empty($id)) {
// Get the first USER ID from user table in the database
$id = $this->db->get("users")->row()->user_id;
}
$data = array(
'user_id' => $id,
);
$this->db->update('station_profile', $data);
}
function CountAllStationLocations() {
$this->db->where('user_id =', NULL);
$query = $this->db->get('station_profile');
return $query->num_rows();
}
function set_active($current, $new) {
// Clean inputs
$clean_current = $this->security->xss_clean($current);