<?php
/**
- * Laconica, the distributed open-source microblogging tool
+ * StatusNet, the distributed open-source microblogging tool
*
- * Laconica-only extensions to the Twitter-like API
+ * StatusNet-only extensions to the Twitter-like API
*
* PHP version 5
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Twitter
- * @package Laconica
- * @author Evan Prodromou <evan@controlyourself.ca>
- * @copyright 2008 Control Yourself, Inc.
+ * @package StatusNet
+ * @author Evan Prodromou <evan@status.net>
+ * @copyright 2008 StatusNet, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
- * @link http://laconi.ca/
+ * @link http://status.net/
*/
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET')) {
exit(1);
}
require_once INSTALLDIR.'/lib/twitterapi.php';
/**
- * Laconica-specific API methods
+ * StatusNet-specific API methods
*
- * This class handles all /laconica/ API methods.
+ * This class handles all /statusnet/ API methods.
*
* @category Twitter
- * @package Laconica
- * @author Evan Prodromou <evan@controlyourself.ca>
- * @copyright 2008 Control Yourself, Inc.
+ * @package StatusNet
+ * @author Evan Prodromou <evan@status.net>
+ * @copyright 2008 StatusNet, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
- * @link http://laconi.ca/
+ * @link http://status.net/
*/
-class TwitapilaconicaAction extends TwitterapiAction
+class TwitapistatusnetAction extends TwitterapiAction
{
/**
* A version stamp for the API
*
- * Returns a version number for this version of Laconica, which
+ * Returns a version number for this version of StatusNet, which
* should make things a bit easier for upgrades.
- * URL: http://identi.ca/api/laconica/version.(xml|json)
+ * URL: http://identi.ca/api/statusnet/version.(xml|json)
* Formats: xml, json
*
* @param array $args Web arguments
switch ($apidata['content-type']) {
case 'xml':
$this->init_document('xml');
- $this->element('version', null, LACONICA_VERSION);
+ $this->element('version', null, STATUSNET_VERSION);
$this->end_document('xml');
break;
case 'json':
$this->init_document('json');
- print '"'.LACONICA_VERSION.'"';
+ print '"'.STATUSNET_VERSION.'"';
$this->end_document('json');
break;
default:
* Dump of configuration variables
*
* Gives a full dump of configuration variables for this instance
- * of Laconica, minus variables that may be security-sensitive (like
+ * of StatusNet, minus variables that may be security-sensitive (like
* passwords).
- * URL: http://identi.ca/api/laconica/config.(xml|json)
+ * URL: http://identi.ca/api/statusnet/config.(xml|json)
* Formats: xml, json
*
* @param array $args Web arguments