X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FRSSCloud%2FRSSCloudPlugin.php;h=15a25c8d22a893d99a2a50f11803ddaa9277b7ba;hb=200721a2f45dbfa5463ba32165c7f60e517f0622;hp=d8881efead0ae25b26d2636473809b44f9273f02;hpb=7d53b5ee04f0325d5b43c977a52a66b78f24994b;p=quix0rs-gnu-social.git diff --git a/plugins/RSSCloud/RSSCloudPlugin.php b/plugins/RSSCloud/RSSCloudPlugin.php index d8881efead..15a25c8d22 100644 --- a/plugins/RSSCloud/RSSCloudPlugin.php +++ b/plugins/RSSCloud/RSSCloudPlugin.php @@ -102,7 +102,7 @@ class RSSCloudPlugin extends Plugin * * @return boolean hook return */ - function onRouterInitialized($m) + function onRouterInitialized(URLMapper $m) { $m->connect('/main/rsscloud/request_notify', array('action' => 'RSSCloudRequestNotify')); @@ -175,7 +175,7 @@ class RSSCloudPlugin extends Plugin array( 'fields' => array( 'subscribed' => array('type' => 'int', 'not null' => true), - 'url' => array('type' => 'varchar', 'length' => '255', 'not null' => true), + 'url' => array('type' => 'varchar', 'length' => '191', 'not null' => true), 'failures' => array('type' => 'int', 'not null' => true, 'default' => 0), 'created' => array('type' => 'datetime', 'not null' => true), 'modified' => array('type' => 'timestamp', 'not null' => true), @@ -192,7 +192,7 @@ class RSSCloudPlugin extends Plugin * * @return boolean hook return */ - function onEndInitializeQueueManager($manager) + function onEndInitializeQueueManager(QueueManager $manager) { $manager->connect('rsscloud', 'RSSCloudQueueHandler'); return true;