summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-13 10:47:22 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-13 10:47:22 -0500
commit47c5d508b36d4351f2bd94e7b36738fdf040b0aa (patch)
tree5a1f94c5a164280c99dbc95c454fbd9dad317996 /lib/util.php
parentc0af950276e54c6d4a854eb1cfd1ba00c3fea9dc (diff)
remove debugging info from local_url
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/util.php b/lib/util.php
index 3eeb9fde3..b065c2d74 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -701,12 +701,8 @@ function common_relative_profile($sender, $nickname, $dt=null)
function common_local_url($action, $args=null, $fragment=null)
{
- common_debug("Action = $action, args = " . (($args) ? '(' . implode($args, ',') . ')' : $args) . ", fragment = $fragment");
$r = Router::get();
- $start = microtime();
$path = $r->build($action, $args, $fragment);
- $end = microtime();
- common_debug("Pathbuilding took " . ($end - $start));
if ($path) {
}
if (common_config('site','fancy')) {
@@ -890,9 +886,9 @@ function common_real_broadcast($notice, $remote=false)
common_log(LOG_ERR, 'Error in Twitter broadcast for notice ' . $notice->id);
}
}
-
- // XXX: Do a real-time FB broadcast here?
-
+
+ // XXX: Do a real-time FB broadcast here?
+
// XXX: broadcast notices to other IM
return $success;
}