Author: david
Date: Tue Jul 19 15:46:58 2011
New Revision: 9333
Log:
Throw exception for incorrect parent class
Modified:
trunk/lib/model/QubitDigitalObject.php
Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php Tue Jul 19 15:43:11 2011
(r9332)
+++ trunk/lib/model/QubitDigitalObject.php Tue Jul 19 15:46:58 2011
(r9333)
@@ -781,7 +781,7 @@
}
else
{
- return false;
+ throw new sfException('Invalid class "'.get_class($parent).'" for
$parent');
}
$infoObjectId = (string) $infoObject->id;
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.