File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
administrator/components/com_patchtester/PatchTester Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ public function apply($id)
165165 if (!$ files )
166166 {
167167 // TODO - Should be a better way to enqueue messages without needing the application...
168- \JFactory::getApplication ()->enqueueMessage (JText::_ ('COM_PATCHTESTER_NO_FILES_TO_PATCH ' , 'message ' ));
168+ \JFactory::getApplication ()->enqueueMessage (\ JText::_ ('COM_PATCHTESTER_NO_FILES_TO_PATCH ' , 'message ' ));
169169
170170 return true ;
171171 }
@@ -275,7 +275,7 @@ public function revert($id)
275275
276276 if (!$ files )
277277 {
278- throw new \RuntimeException (sprintf (JText::_ ('%s - Error retrieving table data (%s) ' ), __METHOD__ , htmlentities ($ table ->data )));
278+ throw new \RuntimeException (sprintf (\ JText::_ ('%s - Error retrieving table data (%s) ' ), __METHOD__ , htmlentities ($ table ->data )));
279279 }
280280
281281 jimport ('joomla.filesystem.file ' );
Original file line number Diff line number Diff line change 1414?>
1515
1616<div id="patchtester-container">
17- <h1 id="patchtester-progress-header"><?php echo JText::_ ('COM_PATCHTESTER_FETCH_INITIALIZING ' ); ?> </h1>
18- <p id="patchtester-progress-message"><?php echo JText::_ ('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION ' ); ?> </p>
17+ <h1 id="patchtester-progress-header"><?php echo \ JText::_ ('COM_PATCHTESTER_FETCH_INITIALIZING ' ); ?> </h1>
18+ <p id="patchtester-progress-message"><?php echo \ JText::_ ('COM_PATCHTESTER_FETCH_INITIALIZING_DESCRIPTION ' ); ?> </p>
1919 <input id="patchtester-token" type="hidden" name="<?php echo JFactory::getSession ()->getFormToken (); ?> " value="1" />
2020</div>
You can’t perform that action at this time.
0 commit comments