Index: openacs-4/packages/acs-tcl/tcl/parameter-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/parameter-procs.tcl,v diff -u -r1.23 -r1.24 --- openacs-4/packages/acs-tcl/tcl/parameter-procs.tcl 20 Jun 2018 12:59:22 -0000 1.23 +++ openacs-4/packages/acs-tcl/tcl/parameter-procs.tcl 20 Jun 2018 13:06:26 -0000 1.24 @@ -55,7 +55,7 @@ } { Get the value of a global package parameter. - @param localize should we attempt to localize the parameter + @param localize should we attempt to localize the parameter @param boolean insure boolean parameters are normalized to 0 or 1 @param package_key identifies the package to which the global param belongs @param parameter which parameter's value to get @@ -128,7 +128,7 @@ } { Get the value of a package instance parameter. - @param localize should we attempt to localize the parameter + @param localize should we attempt to localize the parameter @param boolean insure boolean parameters are normalized to 0 or 1 @param package_id what package to get the parameter from. defaults to [ad_conn package_id] @@ -150,17 +150,17 @@ # ns_config values # if {$package_id ne ""} { - set package_key "" + set package_key "" # This can fail at server startup--OpenACS calls parameter::get to # get the size of the util_memoize cache so it can setup the cache. - # apm_package_key_from_id needs that cache, but on server start + # apm_package_key_from_id needs that cache, but on server start # when the toolkit tries to get the parameter for the cache size # the cache doesn't exist yet, so apm_package_key_from_id fails if {![catch { set package_key [apm_package_key_from_id $package_id] }]} { - set value [ad_parameter_from_file $parameter $package_key] - } + set value [ad_parameter_from_file $parameter $package_key] + } } # 2. check the parameter cache @@ -193,7 +193,7 @@ {-value:required} } { sets an instance parameter for the package corresponding to package_key. - + Note that this makes the assumption that the package is a singleton and does not set the value for all packages corresponding to package_key. @@ -214,7 +214,7 @@ {-default ""} } { Gets an instance parameter for the package corresponding to package_key. - + Note that this makes the assumption that the package is a singleton. New packages should use global parameters instead.