summaryrefslogtreecommitdiff
path: root/plugins/UserFlag/flagprofile.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-19 19:56:24 -0800
committerZach Copley <zach@status.net>2009-11-19 19:56:24 -0800
commit50827d5e81c1b6a5c99e0d0fba2d6ed4c0d22875 (patch)
treefcad8357ee48b7e52b7859c63cc666fa7310390f /plugins/UserFlag/flagprofile.php
parent3d2a2d4173739a36b45fa32535180b6534b083f9 (diff)
Don't show flag user button your own profile
Diffstat (limited to 'plugins/UserFlag/flagprofile.php')
-rw-r--r--plugins/UserFlag/flagprofile.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/UserFlag/flagprofile.php b/plugins/UserFlag/flagprofile.php
index b01d07e34..9bce7865b 100644
--- a/plugins/UserFlag/flagprofile.php
+++ b/plugins/UserFlag/flagprofile.php
@@ -86,12 +86,6 @@ class FlagprofileAction extends ProfileFormAction
function handle($args)
{
- if ($this->boolean('ajax')) {
- common_debug("ajax called for");
- } else {
- common_debug("no ajax");
- }
-
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$this->handlePost();
if (!$this->boolean('ajax')) {
@@ -125,7 +119,7 @@ class FlagprofileAction extends ProfileFormAction
}
$ufp->free();
-
+
if ($this->boolean('ajax')) {
$this->ajaxResults();
}