CloneSet227


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3530.987if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13773
libraries/joomla/installer/adapters/component.php
23217
libraries/joomla/installer/adapters/library.php
33458
libraries/joomla/installer/adapters/module.php
43350
libraries/joomla/installer/adapters/plugin.php
53205
libraries/joomla/installer/adapters/template.php
Clone Instance
1
Line Count
3
Source Line
773
Source File
libraries/joomla/installer/adapters/component.php

                // Is the component we are trying to uninstall a core one?
                // Because that is not a good idea...
                if ($row->protected) {
                        JError::raiseWarning(100, JText::_('Component')
                                                  .                     ' '
                                                  .                         JText::_('Uninstall')
                                                  .                                               ': '
                                                  .                                                    JText::sprintf('WARNCORECOMPONENT', $row->name)
                                                  .                                                                                                    "<br />"
                                                  .                                                                                                             JText::_('WARNCORECOMPONENT2'));
                        return FALSE;
                      }


Clone Instance
2
Line Count
3
Source Line
217
Source File
libraries/joomla/installer/adapters/library.php

                // Is the library we are trying to uninstall a core one?
                // Because that is not a good idea...
                if ($row->protected) {
                        JError::raiseWarning(100, JText::_('Library')
                                                  .                   ' '
                                                  .                       JText::_('Uninstall')
                                                  .                                             ': '
                                                  .                                                  JText::sprintf('WARNCOREMODULE', $row->name)
                                                  .                                                                                               "<br />"
                                                  .                                                                                                        JText::_('WARNCOREMODULE2'));
                        return FALSE;
                      }


Clone Instance
3
Line Count
3
Source Line
458
Source File
libraries/joomla/installer/adapters/module.php

                // Is the module we are trying to uninstall a core one?
                // Because that is not a good idea...
                if ($row->protected) {
                        JError::raiseWarning(100, JText::_('Module')
                                                  .                  ' '
                                                  .                      JText::_('Uninstall')
                                                  .                                            ': '
                                                  .                                                 JText::sprintf('WARNCOREMODULE', $row->name)
                                                  .                                                                                              "<br />"
                                                  .                                                                                                       JText::_('WARNCOREMODULE2'));
                        return FALSE;
                      }


Clone Instance
4
Line Count
3
Source Line
350
Source File
libraries/joomla/installer/adapters/plugin.php

                // Is the plugin we are trying to uninstall a core one?
                // Because that is not a good idea...
                if ($row->protected) {
                        JError::raiseWarning(100, JText::_('Plugin')
                                                  .                  ' '
                                                  .                      JText::_('Uninstall')
                                                  .                                            ': '
                                                  .                                                 JText::sprintf('WARNCOREPLUGIN', $row->name)
                                                  .                                                                                              "<br />"
                                                  .                                                                                                       JText::_('WARNCOREPLUGIN2'));
                        return FALSE;
                      }


Clone Instance
5
Line Count
3
Source Line
205
Source File
libraries/joomla/installer/adapters/template.php

                // Is the template we are trying to uninstall a core one?
                // Because that is not a good idea...
                if ($row->protected) {
                        JError::raiseWarning(100, JText::_('Template')
                                                  .                    ' '
                                                  .                        JText::_('Uninstall')
                                                  .                                              ': '
                                                  .                                                   JText::sprintf('WARNCOREMODULE', $row->name)
                                                  .                                                                                                "<br />"
                                                  .                                                                                                         JText::_('WARNCOREMODULE2'));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Is the component we are trying to uninstall a core one?
// Is the library we are trying to uninstall a core one?
// Is the module we are trying to uninstall a core one?
// Is the plugin we are trying to uninstall a core one?
// Is the template we are trying to uninstall a core one?
// Because that is not a good idea...
if ($row->protected) {
  JError::raiseWarning(100,JText::_( [[#variable22e4e200]])
                           . ' '
                           . JText::_('Uninstall')
                           . ': '
                           . JText::sprintf( [[#variable22e4e120]],$row->name)
                           . "<br />"
                           . JText::_( [[#variable22e4e160]]));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22e4e200]]
'Component' 
12[[#22e4e200]]
'Library' 
13[[#22e4e200]]
'Module' 
14[[#22e4e200]]
'Plugin' 
15[[#22e4e200]]
'Template' 
21[[#22e4e120]]
'WARNCORECOMPONENT' 
22[[#22e4e120]]
'WARNCOREMODULE' 
23[[#22e4e120]]
'WARNCOREMODULE' 
24[[#22e4e120]]
'WARNCOREPLUGIN' 
25[[#22e4e120]]
'WARNCOREMODULE' 
31[[#22e4e160]]
'WARNCORECOMPONENT2' 
32[[#22e4e160]]
'WARNCOREMODULE2' 
33[[#22e4e160]]
'WARNCOREMODULE2' 
34[[#22e4e160]]
'WARNCOREPLUGIN2' 
35[[#22e4e160]]
'WARNCOREMODULE2'