mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
some changes to git configration file
This commit is contained in:
@@ -130,6 +130,15 @@ class mysqlUtilities:
|
||||
def deleteDatabase(dbname, dbuser):
|
||||
try:
|
||||
|
||||
## Remove possible git folder
|
||||
|
||||
dbPath = '/var/lib/mysql/%s/.git' % (dbname)
|
||||
|
||||
command = 'rm -rf %s' % (dbPath)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
##
|
||||
|
||||
connection, cursor = mysqlUtilities.setupConnection()
|
||||
|
||||
if connection == 0:
|
||||
|
||||
Reference in New Issue
Block a user