Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
b98aacea
Commit
b98aacea
authored
4 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
remove lines that has been moved to "Project Page" project
parent
0031c8a3
master
MLAB-677
devel
patch-1
reset-jul13
reset-merge
testing
6 merge requests
!143
updating yml config
,
!64
Prepare production
,
!63
Prepare after testing
,
!62
Testing
,
!59
Mlab 240
,
!55
Mlab 153
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.js
+0
-1
app.js
routes/methods.js
+0
-33
routes/methods.js
with
0 additions
and
34 deletions
+0
-34
app.js
+
0
-
1
View file @
b98aacea
...
...
@@ -69,7 +69,6 @@ app.use(function(req, res, next) {
});
require
(
'
./routes/routes-account
'
)(
app
,
config
,
passport
,
i18n
);
require
(
'
./routes/routes-project
'
)(
app
,
config
,
passport
);
require
(
'
./routes/api
'
)(
app
,
config
,
passport
);
// Handle 404
...
...
This diff is collapsed.
Click to expand it.
routes/methods.js
+
0
-
33
View file @
b98aacea
...
...
@@ -212,39 +212,6 @@ var methods = {
})
callback
(
err
)
})
},
// ======================= project db =======================
getAllProjects
:
function
(
callback
)
{
dbconn
.
project
.
query
(
'
CALL getAllprojects
'
,
function
(
err
,
rows
,
fields
){
if
(
err
)
throw
err
;
callback
(
rows
[
0
],
err
);
})
},
getAllMailinglists
:
function
(
callback
)
{
dbconn
.
project
.
query
(
'
CALL getAllLists
'
,
function
(
err
,
rows
,
fields
){
if
(
err
)
throw
err
;
callback
(
rows
[
0
],
err
);
})
},
getProjectOverviewById
:
function
(
projectId
,
callback
)
{
dbconn
.
project
.
query
(
'
CALL GetProjectInformationByProjectID(
'
+
projectId
+
'
)
'
,
function
(
err
,
rows
,
fields
){
if
(
err
)
throw
err
;
callback
(
rows
[
0
],
err
);
})
},
getProjectImagesById
:
function
(
projectId
,
callback
)
{
dbconn
.
project
.
query
(
'
CALL getImagesByProjectID(
'
+
projectId
+
'
)
'
,
function
(
err
,
rows
,
fields
){
if
(
err
)
throw
err
;
callback
(
rows
[
0
],
err
);
})
},
addProjectOverview
:
function
(
data
,
callback
)
{
dbconn
.
project
.
query
(
'
INSERT INTO project_overview SET ?
'
,
data
,
function
(
err
,
results
,
fields
){
if
(
err
)
{
console
.
error
(
err
);
}
callback
(
results
,
err
);
})
}
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets