diff --git a/resources/inc/class.so_resources.inc.php b/resources/inc/class.so_resources.inc.php index 552b3cfb7f..810f3405e8 100755 --- a/resources/inc/class.so_resources.inc.php +++ b/resources/inc/class.so_resources.inc.php @@ -95,6 +95,13 @@ class so_resources @param int $id resource id @return array with key => value or false if not found */ + + function delete($id) + { + $this->db->delete($this->rs_table,$id,__LINE__,__FILE__); + return true; + } + function read($id) { $tabledef = $this->db->metadata($table=$this->rs_table,$full=false);