Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
141
Merge Requests
141
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
bc3ec36a
Commit
bc3ec36a
authored
Jul 12, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Site: Remove not available attribute erp5_sql_connection_type
parent
3ae8374b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+0
-4
No files found.
product/ERP5/ERP5Site.py
View file @
bc3ec36a
...
@@ -2261,10 +2261,6 @@ class ERP5Generator(PortalGenerator):
...
@@ -2261,10 +2261,6 @@ class ERP5Generator(PortalGenerator):
def
setupIndex
(
self
,
p
,
**
kw
):
def
setupIndex
(
self
,
p
,
**
kw
):
# Make sure all tools and folders have been indexed
# Make sure all tools and folders have been indexed
if
not
kw
.
get
(
'reindex'
,
1
):
if
not
kw
.
get
(
'reindex'
,
1
):
return
# When no SQL connection was define on the site,
# we don't want to make it crash
if
p
.
erp5_sql_connection_type
is
not
None
:
setattr
(
p
,
'isIndexingRequired'
,
ConstantGetter
(
'isIndexingRequired'
,
value
=
True
))
setattr
(
p
,
'isIndexingRequired'
,
ConstantGetter
(
'isIndexingRequired'
,
value
=
True
))
# Clear portal ids sql table, like this we do not take
# Clear portal ids sql table, like this we do not take
# ids for a previously created web site
# ids for a previously created web site
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment