コード例 #1
0
ファイル: Growl.plugin.php プロジェクト: nioc/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('growl_address');
     Preference::delete('growl_pass');
     Preference::delete('growl_message');
     Preference::delete('growl_registered_address');
     return true;
 }
コード例 #2
0
ファイル: Amazon.plugin.php プロジェクト: cheese1/ampache
 /**
  * uninstall
  * This is a required plugin function
  */
 public function uninstall()
 {
     Preference::delete('amazon_base_url');
     Preference::delete('amazon_max_results_pages');
     Preference::delete('amazon_developer_public_key');
     Preference::delete('amazon_developer_private_api_key');
     Preference::delete('amazon_developer_associate_tag');
     return true;
 }
コード例 #3
0
ファイル: Librefm.plugin.php プロジェクト: axelsimon/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('librefm_md5_pass');
     Preference::delete('librefm_user');
     Preference::delete('librefm_url');
     Preference::delete('librefm_host');
     Preference::delete('librefm_port');
     Preference::delete('librefm_challenge');
 }
コード例 #4
0
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('catalogfav_max_items');
     return true;
 }
コード例 #5
0
ファイル: mpd.controller.php プロジェクト: nioc/ampache
 /**
  * uninstall
  * This removes the localplay controller
  */
 public function uninstall()
 {
     $sql = "DROP TABLE `localplay_mpd`";
     $db_results = Dba::write($sql);
     Preference::delete('mpd_active');
     return true;
 }
コード例 #6
0
ファイル: RSSView.plugin.php プロジェクト: nioc/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('rssview_feed_url');
     Preference::delete('rssview_max_items');
     return true;
 }
コード例 #7
0
ファイル: ShoutHome.plugin.php プロジェクト: bl00m/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('shouthome_max_items');
     return true;
 }
コード例 #8
0
ファイル: Yourls.plugin.php プロジェクト: axelsimon/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('yourls_domain');
     Preference::delete('yourls_use_idn');
     Preference::delete('yourls_api');
 }
コード例 #9
0
ファイル: TheAudioDb.plugin.php プロジェクト: cheese1/ampache
 /**
  * uninstall
  * This is a required plugin function
  */
 public function uninstall()
 {
     Preference::delete('tadb_api_key');
     return true;
 }
コード例 #10
0
ファイル: 7Digital.plugin.php プロジェクト: bl00m/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('7digital_api_key');
     Preference::delete('7digital_secret_api_key');
     return true;
 }
コード例 #11
0
ファイル: Bitly.plugin.php プロジェクト: nioc/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('bitly_username');
     Preference::delete('bitly_api_key');
 }
コード例 #12
0
ファイル: vlc.controller.php プロジェクト: cheese1/ampache
 /**
  * uninstall
  * This removes the localplay controller
  */
 public function uninstall()
 {
     $sql = "DROP TABLE `localplay_vlc`";
     $db_results = Dba::query($sql);
     // Remove the pref we added for this
     Preference::delete('vlc_active');
     return true;
 }
コード例 #13
0
ファイル: Flattr.plugin.php プロジェクト: cheese1/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('flattr_user_id');
     return true;
 }
コード例 #14
0
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('googleanalytics_tracking_id');
     return true;
 }
コード例 #15
0
ファイル: Discogs.plugin.php プロジェクト: bl00m/ampache
 /**
  * uninstall
  * This is a required plugin function
  */
 public function uninstall()
 {
     Preference::delete('discogs_api_key');
     Preference::delete('discogs_secret_api_key');
     return true;
 }
コード例 #16
0
ファイル: Headphones.plugin.php プロジェクト: nioc/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('headphones_api_url');
     Preference::delete('headphones_api_key');
     return true;
 }
コード例 #17
0
ファイル: Paypal.plugin.php プロジェクト: bl00m/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('paypal_business');
     Preference::delete('paypal_currency_code');
     return true;
 }
コード例 #18
0
ファイル: Lastfm.plugin.php プロジェクト: cheese1/ampache
 /**
  * upgrade
  * This is a recommended plugin function
  */
 public function upgrade()
 {
     $from_version = Plugin::get_plugin_version($this->name);
     if ($from_version < 4) {
         Preference::rename('lastfm_pass', 'lastfm_md5_pass');
     }
     if ($from_version < 5) {
         Preference::delete('lastfm_md5_pass');
         Preference::delete('lastfm_user');
         Preference::delete('lastfm_url');
         Preference::delete('lastfm_host');
         Preference::delete('lastfm_port');
         Preference::insert('lastfm_grant_link', 'Last.FM Grant URL', '', '25', 'string', 'plugins');
     }
     return true;
 }
コード例 #19
0
ファイル: Piwik.plugin.php プロジェクト: bl00m/ampache
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('piwik_site_id');
     Preference::delete('piwik_url');
     return true;
 }
コード例 #20
0
 /**
  * uninstall
  * This is a required plugin function. It removes our preferences from
  * the database returning it to its original form
  */
 public function uninstall()
 {
     Preference::delete('stream_control_bandwidth_max');
     Preference::delete('stream_control_bandwidth_days');
     return true;
 }
コード例 #21
0
ファイル: index.php プロジェクト: hashemgamal/OSClass
function google_maps_call_after_uninstall()
{
    $dao_preference = new Preference();
    $dao_preference->delete(array("s_section" => "plugin-google_maps", "s_name" => "google_maps_key"));
    unset($dao_preference);
}