git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit df86aa72 authored by Evan Prodromou's avatar Evan Prodromou

define LACONICA and accept LACONICA for backwards compatibility

parent 434abed5
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR.'/lib/personalgroupnav.php';
require_once INSTALLDIR.'/lib/noticelist.php';
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
class ApiAction extends Action
{
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR.'/lib/facebookaction.php';
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/facebookaction.php');
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR.'/lib/facebookaction.php';
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once INSTALLDIR.'/lib/facebookaction.php';
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/actions/shownotice.php');
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/omb.php');
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
define('LISTENER', 1);
define('LISTENEE', -1);
......
......@@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
class InviteAction extends CurrentUserDesignAction
{
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) { exit(1); }
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/openid.php');
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -29,7 +29,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -27,7 +27,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('STATUSNET')) {
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
......
......@@ -28,7 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET')) {