Joomla3-Admin-template/joomla-cms — pull request #1 by mbabker (2012-04-22 08:44:18+00:00)
Title: Fix a couple of PHP Strict errors, remove duplicate getDocument variable

Assigning variables by reference (`$user =& JFactory::getUser();`) causes PHP Strict errors with PHP 5, so I removed the ampersand in that instance.

Also, in both index.php and login.php, assigning `$document = JFactory::getDocument();` is unnecessary since in both files, the variable is assigned to `$doc` and the `$document` variable is unused.