summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-08-25 18:42:34 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-08-25 18:42:34 -0400
commit865b716f0919b6e5133133cd6be53f4143660324 (patch)
tree2941b64f8de39fce196db2e43f08a21b94ca4e98 /lib/omb.php
parent1ee7d0ab55aa5e270a5087c939339b662aefbd9e (diff)
change LACONICA to STATUSNET
Diffstat (limited to 'lib/omb.php')
-rw-r--r--lib/omb.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/omb.php b/lib/omb.php
index 8c0dfd6a2..0a03d8125 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('LACONICA')) { exit(1); }
+if (!defined('STATUSNET')) { exit(1); }
require_once('OAuth.php');
require_once(INSTALLDIR.'/lib/oauthstore.php');
@@ -202,7 +202,7 @@ function omb_post_notice_keys($notice, $postnoticeurl, $tk, $secret)
$result = $fetcher->post($req->get_normalized_http_url(),
$req->to_postdata(),
- array('User-Agent: StatusNet/' . LACONICA_VERSION));
+ array('User-Agent: StatusNet/' . STATUSNET_VERSION));
if ($result->status == 403) { # not authorized, don't send again
common_debug('403 result, deleting subscription', __FILE__);
@@ -282,7 +282,7 @@ function omb_update_profile($profile, $remote_profile, $subscription)
$result = $fetcher->post($req->get_normalized_http_url(),
$req->to_postdata(),
- array('User-Agent: StatusNet/' . LACONICA_VERSION));
+ array('User-Agent: StatusNet/' . STATUSNET_VERSION));
if (empty($result) || !$result) {
common_debug("Unable to contact " . $req->get_normalized_http_url());