Commit cab7ef9f authored by Mario's avatar Mario

Capitalize filenames for consistency and minor issues

parent 1b0c919b
......@@ -13,12 +13,12 @@ use Zotlabs\Extend\Route;
function authchoose_load() {
Hook::register('zid','addon/authchoose/authchoose.php','authchoose_zid');
Route::register('addon/authchoose/Mod_authchoose.php','authchoose');
Route::register('addon/authchoose/Mod_Authchoose.php','authchoose');
}
function authchoose_unload() {
Hook::unregister('zid','addon/authchoose/authchoose.php','authchoose_zid');
Route::unregister('addon/authchoose/Mod_authchoose.php','authchoose');
Route::unregister('addon/authchoose/Mod_Authchoose.php','authchoose');
}
function authchoose_zid(&$x) {
......
......@@ -52,14 +52,14 @@ function diaspora_load() {
'channel_protocols' => 'diaspora_channel_protocols'
]);
Zotlabs\Extend\Route::register('addon/diaspora/Mod_diaspora.php','diaspora');
Zotlabs\Extend\Route::register('addon/diaspora/Mod_Diaspora.php','diaspora');
diaspora_init_relay();
}
function diaspora_unload() {
Zotlabs\Extend\Hook::unregister_by_file('addon/diaspora/diaspora.php');
Zotlabs\Extend\Route::unregister('addon/diaspora/Mod_diaspora.php','diaspora');
Zotlabs\Extend\Route::unregister('addon/diaspora/Mod_Diaspora.php','diaspora');
}
......
......@@ -7,12 +7,12 @@
*/
function mdpost_load() {
\Zotlabs\Extend\Hook::Register('post_content','addon/mdpost/mdpost.php','mdpost_post_content');
\Zotlabs\Extend\Hook::Register('get_features','addon/mdpost/mdpost.php','mdpost_get_features');
\Zotlabs\Extend\Hook::register('post_content','addon/mdpost/mdpost.php','mdpost_post_content');
\Zotlabs\Extend\Hook::register('get_features','addon/mdpost/mdpost.php','mdpost_get_features');
}
function mdpost_unload() {
\Zotlabs\Extend\Hook::Unregister('post_content','addon/mdpost/mdpost.php','mdpost_post_content');
\Zotlabs\Extend\Hook::UnRegister('get_features','addon/mdpost/mdpost.php','mdpost_get_features');
\Zotlabs\Extend\Hook::unregister('post_content','addon/mdpost/mdpost.php','mdpost_post_content');
\Zotlabs\Extend\Hook::unregister('get_features','addon/mdpost/mdpost.php','mdpost_get_features');
}
......
......@@ -14,13 +14,13 @@ use Zotlabs\Extend\Route;
function startpage_load() {
Hook::register('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
Route::register('addon/nsfw/Mod_Nsfw.php','nsfw');
Route::register('addon/nsfw/Mod_Startpage.php','startpage');
}
function startpage_unload() {
Hook::unregister('home_init', 'addon/startpage/startpage.php', 'startpage_home_init');
Route::register('addon/startpage/Mod_startpage.php','nsfw');
Route::register('addon/startpage/Mod_Startpage.php','startpage');
}
function startpage_home_init(&$b) {
......
......@@ -21,7 +21,7 @@ function wppost_load () {
Hook::register('notifier_normal', 'addon/wppost/wppost.php', 'wppost_send');
Hook::register('jot_networks', 'addon/wppost/wppost.php', 'wppost_jot_nets');
Hook::register('drop_item', 'addon/wppost/wppost.php', 'wppost_drop_item');
Route::register('addon/wppost/Mod_wppost.php','wppost');
Route::register('addon/wppost/Mod_Wppost.php','wppost');
}
function wppost_unload () {
......@@ -30,7 +30,7 @@ function wppost_unload () {
Hook::unregister('notifier_normal', 'addon/wppost/wppost.php', 'wppost_send');
Hook::unregister('jot_networks', 'addon/wppost/wppost.php', 'wppost_jot_nets');
Hook::unregister('drop_item', 'addon/wppost/wppost.php', 'wppost_drop_item');
Route::unregister('addon/wppost/Mod_wppost.php','wppost');
Route::unregister('addon/wppost/Mod_Wppost.php','wppost');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment