aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 68c9bfc22..4983dcacf 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -427,7 +427,7 @@
function export_annotation_plugin_hook($hook, $entity_type, $returnvalue, $params)
{
// Sanity check values
- if ((!is_array($params)) && (!isset($params['guid'])))
+/* if ((!is_array($params)) && (!isset($params['guid'])))
throw new InvalidParameterException("GUID has not been specified during export, this should never happen.");
if (!is_array($returnvalue))
@@ -442,7 +442,7 @@
{
foreach ($result as $r)
$returnvalue[] = $r;
- }
+ }*/
return $returnvalue;
}