Skip to content

Commit

Permalink
facebook plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
conejoninja committed May 24, 2011
1 parent bbee63c commit e0f499b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions facebook/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function fbc_call_after_install() {
$conn->autocommit(true);
}

function job_call_after_uninstall() {
function fbc_call_after_uninstall() {
// Insert here the code you want to execute after the plugin's uninstall
// for example you might want to drop/remove a table or modify some values

Expand Down Expand Up @@ -81,7 +81,7 @@ function fbc_conf() {
// This is a hack to show a Configure link at plugins table (you could also use some other hook to show a custom option panel)
osc_add_hook(osc_plugin_path(__FILE__)."_configure", 'fbc_conf');
// This is a hack to show a Uninstall link at plugins table (you could also use some other hook to show a custom option panel)
osc_add_hook(osc_plugin_path(__FILE__)."_uninstall", '');
osc_add_hook(osc_plugin_path(__FILE__)."_uninstall", 'fbc_call_after_uninstall');

osc_add_hook('before_html', 'fbc_init');

Expand Down

0 comments on commit e0f499b

Please sign in to comment.