/**
* Handle POST
*
+ * Executes the actions; deletes all flags
+ *
* @return void
*/
'AND profile_id = ' . $this->profile->id);
if ($result == false) {
- throw new ServerException(sprintf(_("Couldn't clear flags for profile '%s'."),
- $this->profile->nickname));
+ $msg = sprintf(_("Couldn't clear flags for profile '%s'."),
+ $this->profile->nickname);
+ throw new ServerException($msg);
}
$ufp->free();
}
}
- function ajaxResults() {
+ /**
+ * Return results in ajax form
+ *
+ * @return void
+ */
+
+ function ajaxResults()
+ {
header('Content-Type: text/xml;charset=utf-8');
$this->xw->startDocument('1.0', 'UTF-8');
$this->elementStart('html');
$this->elementEnd('html');
}
}
-