Skip to content
Snippets Groups Projects
Commit 368cc7ec authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

remove dead code, fixes #1241

Closes #1241

Merge request studip/studip!756
parent 7e128a20
No related branches found
No related tags found
No related merge requests found
...@@ -70,18 +70,4 @@ class ContentBoxHelper { ...@@ -70,18 +70,4 @@ class ContentBoxHelper {
$params['contentbox_open'] = $id; $params['contentbox_open'] = $id;
return URLHelper::getURL("#$id", $params); return URLHelper::getURL("#$id", $params);
} }
/**
* Sets an object as visited
*
* @param String $type the type to be set in the database
* @param Array $ids Array of ids that might be visited with the given type
*/
public static function visitType($type, $ids) {
$object_id = Request::get('contentbox_open');
if ($object_id && in_array($object_id, $ids)) {
ObjectVisit::visit($object_id, $type);
}
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment