summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.meteor/packages1
-rw-r--r--.meteor/versions1
-rw-r--r--server/publications/pub-users.js28
-rw-r--r--server/publications/users.js1
4 files changed, 0 insertions, 31 deletions
diff --git a/.meteor/packages b/.meteor/packages
index 698f1a73..3779a684 100644
--- a/.meteor/packages
+++ b/.meteor/packages
@@ -89,4 +89,3 @@ mquandalle:moment
msavin:usercache
wekan:wekan-ldap
wekan:accounts-cas
-msavin:sjobs \ No newline at end of file
diff --git a/.meteor/versions b/.meteor/versions
index 5235e6a0..6415eb8b 100644
--- a/.meteor/versions
+++ b/.meteor/versions
@@ -117,7 +117,6 @@ mquandalle:jquery-ui-drag-drop-sort@0.2.0
mquandalle:moment@1.0.1
mquandalle:mousetrap-bindglobal@0.0.1
mquandalle:perfect-scrollbar@0.6.5_2
-msavin:sjobs@3.0.6
msavin:usercache@1.0.0
npm-bcrypt@0.9.3
npm-mongo@2.2.33
diff --git a/server/publications/pub-users.js b/server/publications/pub-users.js
deleted file mode 100644
index f0c94153..00000000
--- a/server/publications/pub-users.js
+++ /dev/null
@@ -1,28 +0,0 @@
-Meteor.publish('user-miniprofile', function(userId) {
- check(userId, String);
-
- return Users.find(userId, {
- fields: {
- 'username': 1,
- 'profile.fullname': 1,
- 'profile.avatarUrl': 1,
- },
- });
-});
-
-Meteor.publish('user-admin', function() {
- return Meteor.users.find(this.userId, {
- fields: {
- isAdmin: 1,
- },
- });
-});
-
-Meteor.publish('user-authenticationMethod', function(match) {
- check(match, String);
- return Users.find({$or: [{_id: match}, {email: match}, {username: match}]}, {
- fields: {
- 'authenticationMethod': 1,
- },
- });
-});
diff --git a/server/publications/users.js b/server/publications/users.js
index 136e1e08..f0c94153 100644
--- a/server/publications/users.js
+++ b/server/publications/users.js
@@ -22,7 +22,6 @@ Meteor.publish('user-authenticationMethod', function(match) {
check(match, String);
return Users.find({$or: [{_id: match}, {email: match}, {username: match}]}, {
fields: {
- '_id': 1,
'authenticationMethod': 1,
},
});