aboutsummaryrefslogtreecommitdiff
path: root/lib/object.inc.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /lib/object.inc.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/object.inc.php')
-rw-r--r--lib/object.inc.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/object.inc.php b/lib/object.inc.php
index 5f231da..a8bd5d7 100644
--- a/lib/object.inc.php
+++ b/lib/object.inc.php
@@ -51,7 +51,7 @@ function object_set_visit_module($plugin_id)
* This function saves the actual time as last visitdate for the given object, user and type
*
* @param string the id of the object (i.e. seminar_id, news_id, vote_id)
-* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.class.php for definitions)
+* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.php for definitions)
* @param string the user who visited the object - if not given, the actual user is used
*
*/
@@ -81,7 +81,7 @@ function object_set_visit($object_id, $plugin_id, $user_id = '')
* This function gets the (last) visit time for an object or module. If no information is found, the last visit of the open-object can bes used
*
* @param string the id of the object (i.e. seminar_id, news_id, vote_id)
-* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.class.php for definitions OR sem/inst, if the visit for the whole seminar was saved)
+* @param string the type of visited object or module (i.e. news, documents, wiki - see /lib/classes/Modules.php for definitions OR sem/inst, if the visit for the whole seminar was saved)
* @param string the return-mode: 'last' for the last visit, other for actual-visit
* @param string the user who visited the object - if not given, the actual user is used
* @param string the id of an open-object (seminar or inst), to gather information for last visit from the visit of the whole open-object
@@ -354,7 +354,6 @@ function object_type_to_id($type)
'inst'=> 0,
'basicdata' => 0,
'vote' => -1,
- 'eval' => -2,
'news' => 'CoreOverview',
'documents' => 'CoreDocuments',
'schedule' => 'CoreSchedule',
@@ -393,7 +392,6 @@ function object_id_to_type($id)
'inst'=> 0,
'basicdata' => 0,
'vote' => -1,
- 'eval' => -2,
'news' => 'CoreOverview',
'documents' => 'CoreDocuments',
'schedule' => 'CoreSchedule',