]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/postnotice.php
more debugging on profile update
[quix0rs-gnu-social.git] / actions / postnotice.php
index 5b275e2d6317ee832e61fd7d739190e92b8c16a2..718ebdab05db85736c7f83d12c10228be65ba7dd 100644 (file)
@@ -20,7 +20,6 @@
 if (!defined('LACONICA')) { exit(1); }
 
 require_once(INSTALLDIR.'/lib/omb.php');
-require_once('Auth/Yadis/Yadis.php');
 
 class PostnoticeAction extends Action {
        function handle($args) {
@@ -77,7 +76,7 @@ class PostnoticeAction extends Action {
                if (!$notice) {
                        $notice = new Notice();
                        $notice->profile_id = $remote_profile->id;
-                       $notice->uri = $notice->uri;
+                       $notice->uri = $notice_uri;
                        $notice->content = $content;
                        if ($notice_url) {
                                $notice->url = $notice_url;