{"action":"opened","issue":{"url":"https://api.github.com/repos/DoSomething/phoenix/issues/5938","labels_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5938/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5938/comments","events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5938/events","html_url":"https://github.com/DoSomething/phoenix/issues/5938","id":121552011,"number":5938,"title":"Missing function: dosomething_helpers_get_variable()","user":{"login":"DeeZone","id":2119264,"avatar_url":"https://avatars.githubusercontent.com/u/2119264?v=3","gravatar_id":"","url":"https://api.github.com/users/DeeZone","html_url":"https://github.com/DeeZone","followers_url":"https://api.github.com/users/DeeZone/followers","following_url":"https://api.github.com/users/DeeZone/following{/other_user}","gists_url":"https://api.github.com/users/DeeZone/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeZone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeZone/subscriptions","organizations_url":"https://api.github.com/users/DeeZone/orgs","repos_url":"https://api.github.com/users/DeeZone/repos","events_url":"https://api.github.com/users/DeeZone/events{/privacy}","received_events_url":"https://api.github.com/users/DeeZone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DoSomething/phoenix/labels/%23message-broker","name":"#message-broker","color":"bfdadc"},{"url":"https://api.github.com/repos/DoSomething/phoenix/labels/%23sms","name":"#sms","color":"bfdadc"},{"url":"https://api.github.com/repos/DoSomething/phoenix/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"sergii-tkachenko","id":672669,"avatar_url":"https://avatars.githubusercontent.com/u/672669?v=3","gravatar_id":"","url":"https://api.github.com/users/sergii-tkachenko","html_url":"https://github.com/sergii-tkachenko","followers_url":"https://api.github.com/users/sergii-tkachenko/followers","following_url":"https://api.github.com/users/sergii-tkachenko/following{/other_user}","gists_url":"https://api.github.com/users/sergii-tkachenko/gists{/gist_id}","starred_url":"https://api.github.com/users/sergii-tkachenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergii-tkachenko/subscriptions","organizations_url":"https://api.github.com/users/sergii-tkachenko/orgs","repos_url":"https://api.github.com/users/sergii-tkachenko/repos","events_url":"https://api.github.com/users/sergii-tkachenko/events{/privacy}","received_events_url":"https://api.github.com/users/sergii-tkachenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-10T18:47:17Z","updated_at":"2015-12-10T18:47:17Z","closed_at":null,"body":"`dosomething_helpers_get_variable()` does not exist. The `general_campaign` setting is always being used:\r\n```\r\n  $opt_in = dosomething_helpers_get_variable('node', $node->nid, $var_name);\r\n  // If not:\r\n  if (!$opt_in) {\r\n    // Use general opt_in_path.\r\n    $var_name = 'dosomething_signup_mobilecommons_opt_in_path_general_campaign';\r\n    $opt_in = variable_get($var_name);\r\n  }\r\n```\r\nhttps://github.com/DoSomething/phoenix/blob/dev/lib/modules/dosomething/dosomething_signup/dosomething_signup.module#L593-L595\r\n\r\nUser campaign signups to campaigns with a specific `opt_in` are not used.\r\n\r\n"}}