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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
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
Hide 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