Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-25 21:42:38 +0400
committerThomas Tanghus <thomas@tanghus.net>2012-06-25 21:42:38 +0400
commitb1f3364eee449a25e55833bea6d716125e0cb8dd (patch)
tree491d252f842ac9fcca6ef1675e6d136b91d9b6e5
parent2ad93849ab72ee60ab0605aee043590dd1e24bec (diff)
Maybe fix out of memory..?
-rw-r--r--lib/vcategories.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php
index ee357c350df..ee7a1d2883a 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -135,8 +135,9 @@ class OC_VCategories {
$vobject = OC_VObject::parse($object);
if(!is_null($vobject)) {
$this->loadFromVObject($vobject, $sync);
+ unset($vobject);
} else {
- OC_Log::write('core','OC_VCategories::rescan, unable to parse. ID: '.', '.substr($object, 0, 100).'(...)', OC_Log::DEBUG);
+ OC_Log::write('core','OC_VCategories::rescan, unable to parse. ID: '.', '.substr($object, 0, 100).'(...)', OC_Log::DEBUG);
}
}
$this->save();