We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6d464ec9 authored by Zach Copley's avatar Zach Copley

Remove a bunch of extraneous logging statements

darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz
parent be2efe25
...@@ -80,7 +80,6 @@ class FeaturedAction extends StreamAction { ...@@ -80,7 +80,6 @@ class FeaturedAction extends StreamAction {
while ($user->fetch()) { while ($user->fetch()) {
$profile_ids[] = $user->id; $profile_ids[] = $user->id;
common_debug("id = $user->id");
} }
$profile = new Profile; $profile = new Profile;
...@@ -89,8 +88,6 @@ class FeaturedAction extends StreamAction { ...@@ -89,8 +88,6 @@ class FeaturedAction extends StreamAction {
$cnt = $profile->find(); $cnt = $profile->find();
common_debug("count = $cnt");
if ($cnt > 0) { if ($cnt > 0) {
$featured = new ProfileList($profile); $featured = new ProfileList($profile);
$featured->show_list(); $featured->show_list();
......
...@@ -72,8 +72,6 @@ class NewnoticeAction extends Action { ...@@ -72,8 +72,6 @@ class NewnoticeAction extends Action {
$replyto = $this->trimmed('inreplyto'); $replyto = $this->trimmed('inreplyto');
common_debug("Replyto = $replyto\n");
$notice = Notice::saveNew($user->id, $content, 'web', 1, ($replyto == 'false') ? NULL : $replyto); $notice = Notice::saveNew($user->id, $content, 'web', 1, ($replyto == 'false') ? NULL : $replyto);
if (is_string($notice)) { if (is_string($notice)) {
......
...@@ -70,9 +70,6 @@ class TwitapiaccountAction extends TwitterapiAction { ...@@ -70,9 +70,6 @@ class TwitapiaccountAction extends TwitterapiAction {
$orig_profile = clone($profile); $orig_profile = clone($profile);
$profile->location = $location; $profile->location = $location;
common_debug('Old profile: ' . common_log_objstring($orig_profile), __FILE__);
common_debug('New profile: ' . common_log_objstring($profile), __FILE__);
$result = $profile->update($orig_profile); $result = $profile->update($orig_profile);
if (!$result) { if (!$result) {
......
...@@ -116,8 +116,6 @@ class TwitapifavoritesAction extends TwitterapiAction { ...@@ -116,8 +116,6 @@ class TwitapifavoritesAction extends TwitterapiAction {
return; return;
} }
common_debug("notice: " . $apidata['api_arg']);
$fave = Fave::addNew($user, $notice); $fave = Fave::addNew($user, $notice);
if (!$fave) { if (!$fave) {
......
...@@ -28,8 +28,6 @@ class StreamAction extends PersonalAction { ...@@ -28,8 +28,6 @@ class StreamAction extends PersonalAction {
$action = $this->trimmed('action'); $action = $this->trimmed('action');
common_debug("action = $action");
common_element_start('ul', array('id' => 'nav_views')); common_element_start('ul', array('id' => 'nav_views'));
common_menu_item(common_local_url('public'), _('Public'), common_menu_item(common_local_url('public'), _('Public'),
......
...@@ -69,10 +69,8 @@ class TwitterapiAction extends Action { ...@@ -69,10 +69,8 @@ class TwitterapiAction extends Action {
$twitter_status['in_reply_to_user_id'] = ($notice->reply_to) ? $this->replier_by_reply(intval($notice->reply_to)) : NULL; $twitter_status['in_reply_to_user_id'] = ($notice->reply_to) ? $this->replier_by_reply(intval($notice->reply_to)) : NULL;
if (isset($this->auth_user)) { if (isset($this->auth_user)) {
common_debug("auth user set: " . $this->auth_user->nickname);
$twitter_status['favorited'] = ($this->auth_user->hasFave($notice)) ? 'true' : 'false'; $twitter_status['favorited'] = ($this->auth_user->hasFave($notice)) ? 'true' : 'false';
} else { } else {
common_debug("no auth user set");
$twitter_status['favorited'] = 'false'; $twitter_status['favorited'] = 'false';
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment