summaryrefslogtreecommitdiff
path: root/lib/oauthstore.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-11 11:29:51 -0500
committerEvan Prodromou <evan@status.net>2009-12-11 11:29:51 -0500
commit79f81ad76d413908c097c121912eff233aebc483 (patch)
treeef94cd25d824b90a8b3b46c2b0c9b76d1ca7153a /lib/oauthstore.php
parent85473ecf94e92cd0e6503e4d27ea26452076aafd (diff)
change Notice::saveNew() to use named arguments for little-used options
Diffstat (limited to 'lib/oauthstore.php')
-rw-r--r--lib/oauthstore.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php
index e34bf8a5e..df63cc151 100644
--- a/lib/oauthstore.php
+++ b/lib/oauthstore.php
@@ -359,9 +359,8 @@ class StatusNetOAuthDataStore extends OAuthDataStore
$notice = Notice::saveNew($author->id,
$omb_notice->getContent(),
'omb',
- false,
- null,
- $omb_notice->getIdentifierURI());
+ array('is_local' => Notice::REMOTE_OMB,
+ 'uri' => $omb_notice->getIdentifierURI()));
common_broadcast_notice($notice, true);
}