CloneSet154


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13320.958statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113114
administrator/components/com_installer/models/extension.php
213215
administrator/components/com_installer/models/languages.php
313198
administrator/components/com_installer/models/manage.php
Clone Instance
1
Line Count
13
Source Line
114
Source File
administrator/components/com_installer/models/extension.php

                if (count($failed)) {
                        // There was an error in uninstalling the package
                        $msg=  JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Error'));
                        $result=  FALSE;
                      }
                else   {
                        // Package uninstalled sucessfully
                        $msg=  JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Success'));
                        $result=  TRUE;
                      }
                $mainframe->enqueueMessage($msg);
                $this->setState('action', 'remove');
                $this->setState('name', $installer->get('name'));


Clone Instance
2
Line Count
13
Source Line
215
Source File
administrator/components/com_installer/models/languages.php

                if (count($failed)) {
                        // There was an error in uninstalling the package
                        $msg=  JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Error'));
                        $result=  FALSE;
                      }
                else   {
                        // Package uninstalled sucessfully
                        $msg=  JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Success'));
                        $result=  TRUE;
                      }
                $mainframe->enqueueMessage($msg);
                $this->setState('action', 'remove');
                $this->setState('message', $installer->message);


Clone Instance
3
Line Count
13
Source Line
198
Source File
administrator/components/com_installer/models/manage.php

                if (count($failed)) {
                        // There was an error in uninstalling the package
                        $msg=  JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Error'));
                        $result=  FALSE;
                      }
                else   {
                        // Package uninstalled sucessfully
                        $msg=  JText::sprintf('UNINSTALLEXT', JText::_($this->_type), JText::_('Success'));
                        $result=  TRUE;
                      }
                $mainframe->enqueueMessage($msg);
                $this->setState('action', 'remove');
                $this->setState('name', $installer->get('name'));


Clone AbstractionParameter Count: 2Parameter Bindings

if (count($failed)) {
  // There was an error in uninstalling the package
  $msg=JText::sprintf('UNINSTALLEXT',JText::_($this->_type),JText::_('Error'));
  $result=FALSE;
}
else {
  // Package uninstalled sucessfully
  $msg=JText::sprintf('UNINSTALLEXT',JText::_($this->_type),JText::_('Success'));
  $result=TRUE;
}
$mainframe->enqueueMessage($msg);
$this->setState('action','remove');
$this->setState( [[#variable237bfc60]], [[#variable237bfd40]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#237bfc60]]
'message' 
12[[#237bfc60]]
'name' 
13[[#237bfc60]]
'name' 
21[[#237bfd40]]
$installer->message 
22[[#237bfd40]]
$installer->get('name') 
23[[#237bfd40]]
$installer->get('name')