mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Remove unused code
This commit is contained in:
parent
a27db3533c
commit
2d83fb2e1d
@ -28,10 +28,6 @@ from qgis.core import (QgsApplication,
|
||||
|
||||
from PyQt5.QtCore import QCoreApplication
|
||||
|
||||
from processing.script import ScriptUtils
|
||||
|
||||
from .QgisAlgorithm import QgisAlgorithm
|
||||
|
||||
from .AddTableField import AddTableField
|
||||
from .Aggregate import Aggregate
|
||||
from .Aspect import Aspect
|
||||
@ -134,10 +130,6 @@ from .VoronoiPolygons import VoronoiPolygons
|
||||
from .ZonalStatistics import ZonalStatistics
|
||||
|
||||
|
||||
pluginPath = os.path.normpath(os.path.join(
|
||||
os.path.split(os.path.dirname(__file__))[0], os.pardir))
|
||||
|
||||
|
||||
class QgisAlgorithmProvider(QgsProcessingProvider):
|
||||
fieldMappingParameterName = QCoreApplication.translate('Processing', 'Fields Mapper')
|
||||
|
||||
@ -250,13 +242,6 @@ class QgisAlgorithmProvider(QgsProcessingProvider):
|
||||
ZonalStatistics()
|
||||
]
|
||||
|
||||
# to store algs added by 3rd party plugins as scripts
|
||||
#folder = os.path.join(os.path.dirname(__file__), 'scripts')
|
||||
#scripts = ScriptUtils.loadFromFolder(folder)
|
||||
#for script in scripts:
|
||||
# script.allowEdit = False
|
||||
#algs.extend(scripts)
|
||||
|
||||
return algs
|
||||
|
||||
def id(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user