From ec7f055fd50b809ea50b7917b9c2e0cee5cd50d6 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 1 May 2010 12:24:16 +0000 Subject: cleaned up library files --- lib/album.php | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'lib/album.php') diff --git a/lib/album.php b/lib/album.php index 7e03ed6eb..7cd27dcde 100644 --- a/lib/album.php +++ b/lib/album.php @@ -1,23 +1,19 @@ attributes['subtype'] = "album"; - } - - public function __construct($guid = null) - { - parent::__construct($guid); - } +class TidypicsAlbum extends ElggObject { + protected function initialise_attributes() { + parent::initialise_attributes(); + + $this->attributes['subtype'] = "album"; + } + + public function __construct($guid = null) { + parent::__construct($guid); } - -?> \ No newline at end of file +} -- cgit v1.2.3