Author: Gunnar Wolf <gwolf@debian.org>
Forwarded: Not-needed
Last-update: 2014-10-03
Description: Skip checks for updated package versions
 As this is a Debian-provided package, checking the upstream site for
 new releases is not the expected way to get updates. Apt-get is.

Index: collabtive/index.php
===================================================================
--- collabtive.orig/index.php
+++ collabtive/index.php
@@ -75,25 +75,6 @@ $taskbar = "win_block";
 $milebar = "win_block";
 $projectbar = "win_block";
 $activitybar = "win_block";
-// On Admin Login check for updates
-$mode = getArrayVal($_GET, "mode");
-if ($mode == "login") {
-    $chkLim = 0;
-    // only check if an admin logs in
-    if ($userpermissions["admin"]["add"]) {
-        // only check 1/2 of the times an admin logs in, to reduce server load
-        $chkLim = mt_rand(1, 2);
-        if ($chkLim == 1) {
-            $updateChk = getUpdateNotify();
-            if (!empty($updateChk)) {
-                if ($updateChk->pubDate > CL_PUBDATE) {
-                    $template->assign("isUpdated", true);
-                    $template->assign("updateNotify", $updateChk);
-                }
-            }
-        }
-    }
-}
 // Get todays date and count tasks, projects and messages for display
 $today = date("d");
 $tasknum = count($etasks);
