diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-20 07:20:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:48 -0500 |
commit | 86d628a292a22973597e0c06d4a36e20c58ae31c (patch) | |
tree | 502f4f8f915be7c4f7104cf6ad38d2239e6dff2d /source4/scripting/libjs/management.js | |
parent | 620301858a5b747002eebe2b9fcef10712ee8249 (diff) | |
download | samba-86d628a292a22973597e0c06d4a36e20c58ae31c.tar.gz samba-86d628a292a22973597e0c06d4a36e20c58ae31c.tar.bz2 samba-86d628a292a22973597e0c06d4a36e20c58ae31c.zip |
r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
Diffstat (limited to 'source4/scripting/libjs/management.js')
-rw-r--r-- | source4/scripting/libjs/management.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/libjs/management.js b/source4/scripting/libjs/management.js index 7130cdc5dd..e1c68ca1de 100644 --- a/source4/scripting/libjs/management.js +++ b/source4/scripting/libjs/management.js @@ -97,7 +97,8 @@ function nbtd_statistics() */ function service_enabled(name) { - var services = lpGet("server services"); + var lp = loadparm_init(); + var services = lp.get("server services"); var i; for (i=0;i<services.length;i++) { if (services[i] == name) { |