remove debugging info from local_url
This commit is contained in:
		@@ -701,12 +701,8 @@ function common_relative_profile($sender, $nickname, $dt=null)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
function common_local_url($action, $args=null, $fragment=null)
 | 
					function common_local_url($action, $args=null, $fragment=null)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    common_debug("Action = $action, args = " . (($args) ? '(' . implode($args, ',') . ')' : $args) . ", fragment = $fragment");
 | 
					 | 
				
			||||||
    $r = Router::get();
 | 
					    $r = Router::get();
 | 
				
			||||||
    $start = microtime();
 | 
					 | 
				
			||||||
    $path = $r->build($action, $args, $fragment);
 | 
					    $path = $r->build($action, $args, $fragment);
 | 
				
			||||||
    $end = microtime();
 | 
					 | 
				
			||||||
    common_debug("Pathbuilding took " . ($end - $start));
 | 
					 | 
				
			||||||
    if ($path) {
 | 
					    if ($path) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if (common_config('site','fancy')) {
 | 
					    if (common_config('site','fancy')) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user