merged 1.1 branch into head
[mir.git] / source / mircoders / module / ModuleCommentStatus.java
index 8a9417d..8329f53 100755 (executable)
@@ -45,7 +45,7 @@ public class ModuleCommentStatus extends AbstractModule {
 
   public String commentStatusIdForName(String aName) throws ModuleExc, ModuleFailure {
     try {
-      return storage.executeFreeSingleValueSql("select id from comment_status where name = '" + JDBCStringRoutines.escapeStringLiteral(aName) + "'");
+      return database.executeFreeSingleValueSql("select id from comment_status where name = '" + JDBCStringRoutines.escapeStringLiteral(aName) + "'");
     }
     catch (Throwable t) {
       throw new ModuleFailure(t);