summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 12:02:13 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 12:02:13 -0400
commit64ed01f0aff569da2fd4ed589df9ed4ee9852cb7 (patch)
treed385c10c3aef1408bf62fc9003bb2d697536e299 /lib
parentab1f2ff9d07088c7a3607ee6d05b1042d735960d (diff)
centralize and optimize with-friends query
darcs-hash:20080722160213-84dde-2e466b9cc4601a8cb7237770a7df17a2f9dcadb9.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php2
-rw-r--r--lib/stream.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/common.php b/lib/common.php
index e7d69303c..ca668d8c2 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -26,6 +26,8 @@ define('AVATAR_STREAM_SIZE', 48);
define('AVATAR_MINI_SIZE', 24);
define('MAX_AVATAR_SIZE', 256 * 1024);
+define('NOTICES_PER_PAGE', 20);
+
define_syslog_variables();
# global configuration object
diff --git a/lib/stream.php b/lib/stream.php
index ad65e2d2a..a595958e4 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -19,8 +19,6 @@
if (!defined('LACONICA')) { exit(1); }
-define('NOTICES_PER_PAGE', 20);
-
class StreamAction extends Action {
function handle($args) {