From 6d464ec91b06a66cfc989084b8af8acb1317e23d Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 10 Dec 2008 21:42:33 -0500 Subject: Remove a bunch of extraneous logging statements darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz --- actions/featured.php | 3 --- actions/newnotice.php | 2 -- actions/twitapiaccount.php | 3 --- actions/twitapifavorites.php | 2 -- 4 files changed, 10 deletions(-) (limited to 'actions') diff --git a/actions/featured.php b/actions/featured.php index 63ba8a071..2bbe7c70c 100644 --- a/actions/featured.php +++ b/actions/featured.php @@ -80,7 +80,6 @@ class FeaturedAction extends StreamAction { while ($user->fetch()) { $profile_ids[] = $user->id; - common_debug("id = $user->id"); } $profile = new Profile; @@ -89,8 +88,6 @@ class FeaturedAction extends StreamAction { $cnt = $profile->find(); - common_debug("count = $cnt"); - if ($cnt > 0) { $featured = new ProfileList($profile); $featured->show_list(); diff --git a/actions/newnotice.php b/actions/newnotice.php index a24925ec3..a79d0a1a2 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -72,8 +72,6 @@ class NewnoticeAction extends Action { $replyto = $this->trimmed('inreplyto'); - common_debug("Replyto = $replyto\n"); - $notice = Notice::saveNew($user->id, $content, 'web', 1, ($replyto == 'false') ? NULL : $replyto); if (is_string($notice)) { diff --git a/actions/twitapiaccount.php b/actions/twitapiaccount.php index bb59005a9..c1960561e 100644 --- a/actions/twitapiaccount.php +++ b/actions/twitapiaccount.php @@ -70,9 +70,6 @@ class TwitapiaccountAction extends TwitterapiAction { $orig_profile = clone($profile); $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); if (!$result) { diff --git a/actions/twitapifavorites.php b/actions/twitapifavorites.php index 7783707a4..3eaff327a 100644 --- a/actions/twitapifavorites.php +++ b/actions/twitapifavorites.php @@ -116,8 +116,6 @@ class TwitapifavoritesAction extends TwitterapiAction { return; } - common_debug("notice: " . $apidata['api_arg']); - $fave = Fave::addNew($user, $notice); if (!$fave) { -- cgit v1.2.3-54-g00ecf