summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php2
-rw-r--r--lib/twitterbasicauthclient.php10
-rw-r--r--lib/util.php2
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/common.php b/lib/common.php
index 39d4ffc9b..88d77732f 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -19,7 +19,7 @@
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
-define('STATUSNET_VERSION', '0.8.1');
+define('STATUSNET_VERSION', '0.8.2dev');
define('LACONICA_VERSION', STATUSNET_VERSION); // compatibility
define('STATUSNET_CODENAME', 'Second Guessing');
diff --git a/lib/twitterbasicauthclient.php b/lib/twitterbasicauthclient.php
index 66bb01e53..fd331fbdc 100644
--- a/lib/twitterbasicauthclient.php
+++ b/lib/twitterbasicauthclient.php
@@ -74,7 +74,7 @@ class TwitterBasicAuthClient
}
/**
- * Calls Twitter's /stutuses/update API method
+ * Calls Twitter's /statuses/update API method
*
* @param string $status text of the status
* @param int $in_reply_to_status_id optional id of the status it's
@@ -94,7 +94,7 @@ class TwitterBasicAuthClient
}
/**
- * Calls Twitter's /stutuses/friends_timeline API method
+ * Calls Twitter's /statuses/friends_timeline API method
*
* @param int $since_id show statuses after this id
* @param int $max_id show statuses before this id
@@ -123,7 +123,7 @@ class TwitterBasicAuthClient
}
/**
- * Calls Twitter's /stutuses/friends API method
+ * Calls Twitter's /statuses/friends API method
*
* @param int $id id of the user whom you wish to see friends of
* @param int $user_id numerical user id
@@ -153,7 +153,7 @@ class TwitterBasicAuthClient
}
/**
- * Calls Twitter's /stutuses/friends/ids API method
+ * Calls Twitter's /statuses/friends/ids API method
*
* @param int $id id of the user whom you wish to see friends of
* @param int $user_id numerical user id
@@ -163,7 +163,7 @@ class TwitterBasicAuthClient
* @return mixed a list of ids, 100 per page
*/
function friendsIds($id = null, $user_id = null, $screen_name = null,
- $page = null)
+ $page = null)
{
$url = "https://twitter.com/friends/ids.json";
diff --git a/lib/util.php b/lib/util.php
index edc08d4c1..7228b3fe3 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -450,7 +450,7 @@ function common_replace_urls_callback($text, $callback, $notice_id = null) {
'#ixu';
preg_match_all($regex,$text,$matches);
//print_r($matches);
- return preg_replace_callback($regex, curry(callback_helper,$callback,$notice_id) ,$text);
+ return preg_replace_callback($regex, curry('callback_helper',$callback,$notice_id) ,$text);
}
function callback_helper($matches, $callback, $notice_id) {