stable

Clone or download

Read-only

Refactoring: DRY for isInDashboard

This is part of story #10495 have base cross tracker search widget No functional changes. We should not repeat ourselves each time a plugin needs to know if the current request is made in a personal or project dashboard. Change-Id: Ic7e1fae29c3efae77be468a87f4edbae52957c33

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +3 −12 Go to diff View file
M plugins/mediawiki/www/skins/Tuleap/Tuleap.php +2 −0 Go to diff View file
M plugins/mediawiki/www/skins/Tuleap123/Tuleap123.php +2 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +3 −12 Go to diff View file
A src/common/Request/CurrentPage.php +41 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/include/BurningParrotCompatiblePageDetector.php +8 −21 Go to diff View file
M src/www/include/pre.php +2 −0 Go to diff View file
M src/www/themes/BurningParrot/Navbar/PresenterBuilder.php +2 −0 Go to diff View file
A tests/simpletest/common/Request/CurrentPageTest.php +88 −0 Go to diff View file