]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove a bunch of extraneous logging statements
authorZach Copley <zach@controlyourself.ca>
Thu, 11 Dec 2008 02:42:33 +0000 (21:42 -0500)
committerZach Copley <zach@controlyourself.ca>
Thu, 11 Dec 2008 02:42:33 +0000 (21:42 -0500)
darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz

actions/featured.php
actions/newnotice.php
actions/twitapiaccount.php
actions/twitapifavorites.php
lib/stream.php
lib/twitterapi.php

index 63ba8a07166956f21a476879345f00122d78ee48..2bbe7c70cef666ea594922abe251f49af17e1b44 100644 (file)
@@ -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();
index a24925ec3872de0614aa42949498a529c2b876c1..a79d0a1a2f9e859b01353a97b5ce8cff778ff406 100644 (file)
@@ -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)) {
index bb59005a9594a57547851a99c688d7db155c58c1..c1960561e21d7a0db77edb9b93f7c97d57c12e39 100644 (file)
@@ -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) {
index 7783707a4029922c0d6b3ed768c4f935a0636fd9..3eaff327a1c202d684106ad70876ce9fefb9e192 100644 (file)
@@ -116,8 +116,6 @@ class TwitapifavoritesAction extends TwitterapiAction {
                        return;
                }
 
-               common_debug("notice: " . $apidata['api_arg']);
-
                $fave = Fave::addNew($user, $notice);
 
                if (!$fave) {
index 135c59727cf6d45034a2fc525c890dd434788696..7a1a9172e8cb242c165fb69643906a7f7158d84d 100644 (file)
@@ -28,8 +28,6 @@ class StreamAction extends PersonalAction {
 
                $action = $this->trimmed('action');
 
-               common_debug("action = $action");
-
                common_element_start('ul', array('id' => 'nav_views'));
 
                common_menu_item(common_local_url('public'), _('Public'),
index bf99e8052781809d2da535d7f48c0c2f762f1e20..b2095dec78aaa816581b368def546af1cd16c0dc 100644 (file)
@@ -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;
 
                if (isset($this->auth_user)) {
-                       common_debug("auth user set: " . $this->auth_user->nickname);
                        $twitter_status['favorited'] = ($this->auth_user->hasFave($notice)) ? 'true' : 'false';
                } else {
-                       common_debug("no auth user set");
                        $twitter_status['favorited'] = 'false';
                }