summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-18 07:45:06 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-18 07:45:06 -0700
commit3a0c6d6c6d33bf343c832be3bc38ec85062588c4 (patch)
tree282137f4ac2b4d28bdbacd1052cb975dc6647385 /classes
parentba3a484a655f93329463465d224dfc6ae6494434 (diff)
parentc442b400b985cb9e30bf036007bcffc96807d5a3 (diff)
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
Diffstat (limited to 'classes')
-rw-r--r--classes/User_group.php7
-rwxr-xr-xclasses/laconica.ini1
2 files changed, 8 insertions, 0 deletions
diff --git a/classes/User_group.php b/classes/User_group.php
index 1a24124bb..8a56b9e52 100644
--- a/classes/User_group.php
+++ b/classes/User_group.php
@@ -19,6 +19,7 @@ class User_group extends Memcached_DataObject
public $homepage_logo; // varchar(255)
public $stream_logo; // varchar(255)
public $mini_logo; // varchar(255)
+ public $design_id; // int(4)
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
@@ -239,4 +240,10 @@ class User_group extends Memcached_DataObject
}
return null;
}
+
+ function getDesign()
+ {
+ return Design::staticGet('id', $this->design_id);
+ }
+
}
diff --git a/classes/laconica.ini b/classes/laconica.ini
index 1a650aba5..5ced15885 100755
--- a/classes/laconica.ini
+++ b/classes/laconica.ini
@@ -468,6 +468,7 @@ original_logo = 2
homepage_logo = 2
stream_logo = 2
mini_logo = 2
+design_id = 1
created = 142
modified = 384