diff options
author | friendica <info@friendica.com> | 2014-01-07 14:10:28 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-07 14:10:28 -0800 |
commit | b8564134aaffc2ebe35fecd5dae4fd0f6523eb53 (patch) | |
tree | 1271c4ea29d9286c20da88cb2969c09e2a4af841 /mod/photos.php | |
parent | e635dcb3092da962c29fe4c8e4ddc53de368002d (diff) | |
download | volse-hubzilla-b8564134aaffc2ebe35fecd5dae4fd0f6523eb53.tar.gz volse-hubzilla-b8564134aaffc2ebe35fecd5dae4fd0f6523eb53.tar.bz2 volse-hubzilla-b8564134aaffc2ebe35fecd5dae4fd0f6523eb53.zip |
make storage limit service classes apply to accounts, not channels. Also include a css file that was missing from work yesterday.
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php index 5afde49ef..4a0fb01b8 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -687,8 +687,8 @@ function photos_content(&$a) { /* Show space usage */ - $r = q("select sum(size) as total from photo where uid = %d and scale = 0 ", - intval($a->data['channel']['channel_id']) + $r = q("select sum(size) as total from photo where aid = %d and scale = 0 ", + intval($a->data['channel']['channel_account_id']) ); |