summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
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();