]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.9.x' into 1.0.x
authorBrion Vibber <brion@pobox.com>
Thu, 7 Oct 2010 20:32:26 +0000 (13:32 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 7 Oct 2010 20:32:26 +0000 (13:32 -0700)
1  2 
lib/util.php
plugins/BitlyUrl/BitlyUrlPlugin.php
plugins/OStatus/OStatusPlugin.php

diff --cc lib/util.php
Simple merge
index e1c8d3462eb9b40d69541bf87445b0a27e4262cf,93a35b3f384d85b52e2ed784560e37eed34a5b85..f4d987489ab0a6509a3ec1b2f1b83f692fa2bd29
@@@ -31,9 -33,14 +33,12 @@@ if (!defined('STATUSNET')) 
      exit(1);
  }
  
 -require_once INSTALLDIR.'/plugins/UrlShortener/UrlShortenerPlugin.php';
 -
  class BitlyUrlPlugin extends UrlShortenerPlugin
  {
-     public $serviceUrl;
+     public $shortenerName = 'bit.ly';
+     public $serviceUrl = 'http://bit.ly/api?method=shorten&version=2.0.1&longUrl=%s';
+     public $login; // To set a site-default when admins or users don't override it.
+     public $apiKey;
  
      function onInitializePlugin(){
          parent::onInitializePlugin();
Simple merge