summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 16:24:49 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 16:24:49 +0200
commitc5d601d5cd45dfc995bc5e66952adbaf3536a0ae (patch)
tree3554c47d349bec000ff93a8a05d9c0e725b6f121
parentDon't delete OFFLINE users from the presence cache, so we can report on their... (diff)
downloadsynapse-c5d601d5cd45dfc995bc5e66952adbaf3536a0ae.tar.xz
Cleaned dead code
Diffstat (limited to '')
-rw-r--r--webclient/components/matrix/matrix-service.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/webclient/components/matrix/matrix-service.js b/webclient/components/matrix/matrix-service.js
index b67beb007a..2463b51203 100644
--- a/webclient/components/matrix/matrix-service.js
+++ b/webclient/components/matrix/matrix-service.js
@@ -68,9 +68,7 @@ angular.module('matrixService', [])
             params: params,
             data: data,
             headers: headers
-        })
-
-        return deferred.promise;
+        });
     };