Quantcast

Remove unnecessary module dependencies.

Johnny C. Lam [04-06-14 - 18:48]
Remove unnecessary module dependencies.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1286 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleState.lua
diff --git a/OvaleState.lua b/OvaleState.lua
index 8e1d8ee..59c5bea 100644
--- a/OvaleState.lua
+++ b/OvaleState.lua
@@ -19,10 +19,6 @@ Ovale.OvaleState = OvaleState
 --<private-static-properties>
 local OvaleQueue = Ovale.OvaleQueue

--- Forward declarations for module dependencies.
-local OvaleData = nil
-local OvaleFuture = nil
-
 local pairs = pairs
 --</private-static-properties>

@@ -36,12 +32,6 @@ OvaleState.state = {}
 --</public-static-properties>

 --<public-static-methods>
-function OvaleState:OnInitialize()
-	-- Resolve module dependencies.
-	OvaleData = Ovale.OvaleData
-	OvaleFuture = Ovale.OvaleFuture
-end
-
 function OvaleState:OnEnable()
 	self:RegisterState(self, self.statePrototype)
 end