Moved FeedSubException parent class to own file

This commit is contained in:
Mikael Nordfeldth 2015-06-06 16:02:25 +02:00
parent 268b901048
commit 4de125dd84
2 changed files with 13 additions and 13 deletions

View File

@ -30,19 +30,6 @@ if (!defined('GNUSOCIAL')) { exit(1); }
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/phpseclib');
class FeedSubException extends Exception
{
function __construct($msg=null)
{
$type = get_class($this);
if ($msg) {
parent::__construct("$type: $msg");
} else {
parent::__construct($type);
}
}
}
class OStatusPlugin extends Plugin
{
/**

View File

@ -0,0 +1,13 @@
<?php
class FeedSubException extends Exception
{
function __construct($msg=null)
{
$type = get_class($this);
if ($msg) {
parent::__construct("$type: $msg");
} else {
parent::__construct($type);
}
}
}