diff options
Diffstat (limited to 'classes/File.php')
-rw-r--r-- | classes/File.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/File.php b/classes/File.php index 79a7d6681..4ecd3b959 100644 --- a/classes/File.php +++ b/classes/File.php @@ -290,5 +290,12 @@ class File extends Memcached_DataObject } return $enclosure; } + + // quick back-compat hack, since there's still code using this + function isEnclosure() + { + $enclosure = $this->getEnclosure(); + return !empty($enclosure); + } } |