domain_unserialize($object)Unserialize an object stored in {domain_*} tables.
PostGRES has issues with bytea fields, and while this is handled cleanly in cache_get(), we have our own functions for retrieving similar data objects. So we must be sure to unserialize these safely.
$object The serialized object.
$data Properly unserialized data or an empty string if the $object contained no data.
./domain.bootstrap.inc, line 258
<?php
function domain_unserialize($object) {
if (empty($object)) {
return;
}
return unserialize(db_decode_blob($object));
}
?>