HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux mail.btech-izolacje.pl 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
User: pewna6876 (1017)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/ftp/pluginManager.py
from .signals import *
from plogical.pluginManagerGlobal import pluginManagerGlobal

class pluginManager:

    @staticmethod
    def preCreateFTPAccount(request):
        return pluginManagerGlobal.globalPlug(request, preCreateFTPAccount)

    @staticmethod
    def postCreateFTPAccount(request, response):
        return pluginManagerGlobal.globalPlug(request, postCreateFTPAccount, response)

    @staticmethod
    def preSubmitFTPCreation(request):
        return pluginManagerGlobal.globalPlug(request, preSubmitFTPCreation)

    @staticmethod
    def postSubmitFTPCreation(request, response):
        return pluginManagerGlobal.globalPlug(request, postSubmitFTPCreation, response)

    @staticmethod
    def preSubmitFTPDelete(request):
        return pluginManagerGlobal.globalPlug(request, preSubmitFTPDelete)

    @staticmethod
    def postSubmitFTPDelete(request, response):
        return pluginManagerGlobal.globalPlug(request, postSubmitFTPDelete, response)

    @staticmethod
    def preChangePassword(request):
        return pluginManagerGlobal.globalPlug(request, preChangePassword)

    @staticmethod
    def postChangePassword(request, response):
        return pluginManagerGlobal.globalPlug(request, postChangePassword, response)