diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-15 23:11:33 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-15 23:11:33 +0000 |
commit | ef61f59c6e935973a47dfef8e94cc37017753760 (patch) | |
tree | c73cf58778430be0274cb00818d7ee98c52ba066 /main/pbx.c | |
parent | 95bd1cccf01e3c49987bde239a075bf3c088f0f4 (diff) |
Expand deprecation warnings from simply warning on use to the builtin documentation.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58939 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index 0bdd29baa..0bc6ac584 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -436,6 +436,7 @@ static struct pbx_builtin { "Set a global variable to a given value", " SetGlobalVar(variable=value): This application sets a given global variable to\n" "the specified value.\n" + "\n\nThis application is deprecated in favor of Set(GLOBAL(var)=value)\n" }, { "Set", pbx_builtin_setvar, @@ -450,6 +451,9 @@ static struct pbx_builtin { " Options:\n" " g - Set variable globally instead of on the channel\n" " (applies only to variables, not functions)\n" + "\n\nThe use of Set to set multiple variables at once and the g flag have both\n" + "been deprecated. Please use multiple Set calls and the GLOBAL() dialplan\n" + "function instead.\n" }, { "ImportVar", pbx_builtin_importvar, |