Minor - Fix psalm issues

pull/3768/head
Julio Montoya 4 years ago
parent 6357b0a109
commit e910d88172
  1. 6
      public/main/inc/lib/glossary.lib.php

@ -275,7 +275,7 @@ class GlossaryManager
*
* @return bool True if term exists
*/
public static function glossary_exists($term, $not_id = '')
public static function glossary_exists($term, $not_id = 0)
{
// Database table definition
$table = Database::get_course_table(TABLE_GLOSSARY);
@ -368,13 +368,13 @@ class GlossaryManager
}
// update item_property (delete)
api_item_property_update(
/*api_item_property_update(
api_get_course_info(),
TOOL_GLOSSARY,
$glossary_id,
'delete',
api_get_user_id()
);
);*/
// reorder the remaining terms
self::reorder_glossary();

Loading…
Cancel
Save