Merge lp:~whosdaz/ubuntu-qa-website/fix1194770 into lp:ubuntu-qa-website

Proposed by Matthew Allen
Status: Merged
Merged at revision: 422
Proposed branch: lp:~whosdaz/ubuntu-qa-website/fix1194770
Merge into: lp:ubuntu-qa-website
Diff against target: 18 lines (+4/-2)
1 file modified
modules/qawebsite/qawebsite.module (+4/-2)
To merge this branch: bzr merge lp:~whosdaz/ubuntu-qa-website/fix1194770
Reviewer Review Type Date Requested Status
Ubuntu QA Website Developers Pending
Review via email: mp+282702@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'modules/qawebsite/qawebsite.module'
--- modules/qawebsite/qawebsite.module 2016-01-14 17:51:38 +0000
+++ modules/qawebsite/qawebsite.module 2016-01-15 08:47:33 +0000
@@ -19,10 +19,12 @@
1919
2020
21//Work around to fix lp:119477021//Work around to fix lp:1194770
22
23$path = drupal_get_path_alias($_GET['q']);22$path = drupal_get_path_alias($_GET['q']);
2423
25if($path == 'user' || $path == 'user/login' || $path == 'user/register' || $path == 'user/password'){24// Get the leading section of the path eg. /user /qatracker etc.
25$pathmain = explode("/", $path)[0];
26
27if($pathmain == "user"){
26 $redirect = array(28 $redirect = array(
27 '#tag' => 'meta', // The #tag is the html tag - <link />29 '#tag' => 'meta', // The #tag is the html tag - <link />
28 '#attributes' => array( // Set up an array of attributes inside the tag30 '#attributes' => array( // Set up an array of attributes inside the tag

Subscribers

People subscribed via source and target branches