aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/export.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-14 22:39:05 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-14 22:39:05 +0000
commit809839dbde61e850b7d2d10c410f39e1b398b0e9 (patch)
tree1d54afadb816a52a46966ca20b61c3889e4c3f2e /engine/lib/export.php
parent6b090d639e9623ef47ff8b06f390ef23361a4261 (diff)
downloadelgg-809839dbde61e850b7d2d10c410f39e1b398b0e9.tar.gz
elgg-809839dbde61e850b7d2d10c410f39e1b398b0e9.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Exception thrown on unrecognised import tag. git-svn-id: https://code.elgg.org/elgg/trunk@447 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r--engine/lib/export.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php
index cbb7465ee..f49fba512 100644
--- a/engine/lib/export.php
+++ b/engine/lib/export.php
@@ -239,6 +239,7 @@
case 'entity' : $odd = new ODDEntity("","",""); break;
case 'metadata' : $odd = new ODDMetaData("","","",""); break;
case 'relationship' : $odd = new ODDRelationship("","",""); break;
+ default: throw new ImportException("Unrecognised ODD tag '$name' in import data, check version!");
}
// Now populate values