summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-25 19:42:38 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-25 19:42:38 +0200
commitb1f3364eee449a25e55833bea6d716125e0cb8dd (patch)
tree491d252f842ac9fcca6ef1675e6d136b91d9b6e5 /lib/vcategories.php
parent2ad93849ab72ee60ab0605aee043590dd1e24bec (diff)
downloadnextcloud-server-b1f3364eee449a25e55833bea6d716125e0cb8dd.tar.gz
nextcloud-server-b1f3364eee449a25e55833bea6d716125e0cb8dd.zip
Maybe fix out of memory..?
Diffstat (limited to 'lib/vcategories.php')
-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();