From 13d4e28421054beb34fd6fe7cf1fc500b281c29d Mon Sep 17 00:00:00 2001 From: aragonc Date: Thu, 18 Jun 2015 12:38:33 -0500 Subject: [PATCH] deleted Cannot redeclare learnpath::getSubscribeUsers() --- main/newscorm/learnpath.class.php | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 61dc3c8ad4..a04eeaf186 100755 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -10711,32 +10711,6 @@ EOD; return $forumId; } - /** - * @return int - */ - public function getSubscribeUsers() - { - return $this->subscribeUsers; - } - - /** - * @param int $value - */ - public function setSubscribeUsers($value) - { - if ($this->debug > 0) { - error_log('New LP - In learnpath::set_subscribe_users()', 0); - } - $this->subscribeUsers = intval($value); - $lp_table = Database :: get_course_table(TABLE_LP_MAIN); - $lp_id = $this->get_id(); - $sql = "UPDATE $lp_table SET subscribe_users = '{$this->subscribeUsers}' - WHERE c_id = {$this->course_int_id} AND id = '$lp_id'"; - Database::query($sql); - - return true; - } - } if (!function_exists('trim_value')) {