Skip to content

Commit

Permalink
fix: cure cancer
Browse files Browse the repository at this point in the history
Removes the cancer that is qbcore.
  • Loading branch information
thelindat committed Aug 5, 2024
1 parent dd9f6d7 commit c84c91d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 110 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ox Doorlock

Door management resource, with compatibility for ox_core, qb-core, and es_extended.
Door management resource, with compatibility for ox_core, and es_extended.
Successor to nui_doorlock with less scuff and more stuff.

_The UI needs to be built - use the [latest release](https://github.com/overextended/ox_doorlock/releases/latest/download/ox_doorlock.zip) if you want to drag-n-drop._
Expand Down
11 changes: 0 additions & 11 deletions client/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,6 @@ CreateThread(function()
ox = true,
exp = exports.ox_target
}
elseif GetResourceState('qb-target'):find('start') then
target = {
qb = true,
exp = exports['qb-target']
}
elseif GetResourceState('qtarget'):find('start') then
target = {
qt = true,
Expand Down Expand Up @@ -309,8 +304,6 @@ CreateThread(function()

if target.qt then
target.exp:Object({ options = options })
elseif target.qb then
target.exp:AddGlobalObject({ options = options })
end

options = { locale('pick_lock') }
Expand All @@ -320,10 +313,6 @@ CreateThread(function()
if target.qt then
return target.exp:RemoveObject(options)
end

if target.qb then
return target.exp:RemoveGlobalObject(options)
end
end
end)
end
Expand Down
97 changes: 0 additions & 97 deletions server/framework/qb-core.lua

This file was deleted.

2 changes: 1 addition & 1 deletion server/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function utils.getFilesInDirectory(path, pattern)
return files, fileCount
end

local frameworks = { 'es_extended', 'ND_Core', 'ox_core', 'qb-core' }
local frameworks = { 'es_extended', 'ND_Core', 'ox_core' }
local sucess = false

for i = 1, #frameworks do
Expand Down

1 comment on commit c84c91d

@EpsilonAETIX
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

finally

Please sign in to comment.