[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sync/inc/class.ipc_sync.inc.php, 1.19
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sync/inc/class.ipc_sync.inc.php, 1.19 |
Date: |
Tue, 1 Jun 2004 17:15:09 +0200 |
Update of /sync/inc
Modified Files:
Branch:
class.ipc_sync.inc.php
date: 2004/06/01 15:15:09; author: mkaemmerer; state: Exp; lines: +13 -2
Log Message:
- set_time_limit(0) for some slow functions
=====================================================================
Index: sync/inc/class.ipc_sync.inc.php
diff -u sync/inc/class.ipc_sync.inc.php:1.18
sync/inc/class.ipc_sync.inc.php:1.19
--- sync/inc/class.ipc_sync.inc.php:1.18 Mon May 17 15:05:44 2004
+++ sync/inc/class.ipc_sync.inc.php Tue Jun 1 15:15:09 2004
@@ -235,6 +235,8 @@
function getAllSyncItemIds($deviceid, $source) {
if ($this->debug)
error_log("getAllSyncItemIds: $deviceid, $source");
+
+ set_time_limit(0);
return $this->bo->GetIDList($deviceid, $source, 1);
}
@@ -254,6 +256,9 @@
if ($this->debug)
error_log("getSyncItemsbyID: $deviceid, $source, $mimetype, " .
serialize($Ids));
+ set_time_limit(0);
+
+
$AllItems = array();
foreach($Ids as $iID) {
$AllItems[] = $this->getSyncItemFromId($deviceid, $source, $iID,
$mimetype);
@@ -275,7 +280,9 @@
function getDeletedSyncItemIds($deviceid, $source, $since) {
if ($this->debug)
error_log("getDeletedSyncItems: $deviceid, $source, $since");
-
+
+ set_time_limit(0);
+
return $this->bo->GetDeletedIDList($deviceid, $source, $since);
}
@@ -293,6 +300,8 @@
if ($this->debug)
error_log("getNewSyncItemIds: $deviceid, $source, $since");
+ set_time_limit(0);
+
return $this->bo->GetIDList($deviceid, $source, 2, $since);
}
@@ -309,6 +318,8 @@
function getUpdatedSyncItemIds($deviceid, $source, $since) {
if ($this->debug)
error_log("getUpdatedSyncItemIds: $deviceid, $source, $since");
+
+ set_time_limit(0);
return $this->bo->GetIDList($deviceid, $source, 3, $since);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sync/inc/class.ipc_sync.inc.php, 1.19,
nomail <=