]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/microsummary.php
OStatus: handle update-profile Salmon pings
[quix0rs-gnu-social.git] / actions / microsummary.php
index 585ef788aa9b7bd8d3b2d80a4afced6bc5705aca..5c761e8bb6f06acdba886a5350528fd58f71550a 100644 (file)
@@ -28,7 +28,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
     exit(1);
 }
 
@@ -59,7 +59,7 @@ class MicrosummaryAction extends Action
         $user     = User::staticGet('nickname', $nickname);
 
         if (!$user) {
-            $this->clientError(_('No such user'), 404);
+            $this->clientError(_('No such user.'), 404);
             return;
         }