projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Remove ffluci.util.__file__ as it relies on debug information
[project/luci.git]
/
src
/
ffluci
/
util.lua
diff --git
a/src/ffluci/util.lua
b/src/ffluci/util.lua
index
a33d141
..
dfc88e3
100644
(file)
--- a/
src/ffluci/util.lua
+++ b/
src/ffluci/util.lua
@@
-205,10
+205,4
@@
function validate(value, cast_number, cast_int)
end
return value
-end
-
-
--- Returns the filename of the calling script
-function __file__()
- return debug.getinfo(2, 'S').source:sub(2)
end
\ No newline at end of file