👁 View: Plugin.php
Path: /home/thiqat5/electronics.thiqatech.com/platform/plugins/social-login/src/Plugin.php
Size: 857 B · Modified: 2022-04-22 10:13:56 · Perm: 0644 · Writable
<?php

namespace Botble\SocialLogin;

use Botble\PluginManagement\Abstracts\PluginOperationAbstract;
use Botble\Setting\Models\Setting;

class Plugin extends PluginOperationAbstract
{
    public static function remove()
    {
        Setting::whereIn('key', [
            'social_login_enable',
            'social_login_facebook_enable',
            'social_login_facebook_app_id',
            'social_login_facebook_app_secret',
            'social_login_github_enable',
            'social_login_github_app_id',
            'social_login_github_app_secret',
            'social_login_google_enable',
            'social_login_google_app_id',
            'social_login_google_app_secret',
            'social_login_linkedin_enable',
            'social_login_linkedin_app_id',
            'social_login_linkedin_app_secret',
        ])->delete();
    }
}