Built motion from commit 2438401.|1.0.5
[motion.git] / server / models / mail_message.js
index 20a9d5d..d2f2b56 100644 (file)
@@ -62,9 +62,7 @@ module.exports = function(sequelize, DataTypes) {
                        type: DataTypes.BLOB('long'),
                        get: function() {
                                if (this.getDataValue('html')) {
-                                       if (this.getDataValue('html')) {
-                                               return _.toString(this.getDataValue('html'));
-                                       }
+                                       return _.toString(this.getDataValue('html'));
                                }
                        }
                },