summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-20 11:34:55 -0400
committerMichael <[email protected]>2017-04-20 11:34:55 -0400
commita21bed488a70b03bf5cdc8a4ca648ee4fe80ba7c (patch)
treef12c15a89b7e57c07db6ba8eb06f0f1cc22a837f /Project-Unite/Controllers
parentdaf9785baeb98877d1a334481b3f69e6a23fd40f (diff)
downloadproject-unite-a21bed488a70b03bf5cdc8a4ca648ee4fe80ba7c.tar.gz
project-unite-a21bed488a70b03bf5cdc8a4ca648ee4fe80ba7c.tar.bz2
project-unite-a21bed488a70b03bf5cdc8a4ca648ee4fe80ba7c.zip
grrrr
Diffstat (limited to 'Project-Unite/Controllers')
-rw-r--r--Project-Unite/Controllers/ForumController.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Project-Unite/Controllers/ForumController.cs b/Project-Unite/Controllers/ForumController.cs
index 449186a..69c136a 100644
--- a/Project-Unite/Controllers/ForumController.cs
+++ b/Project-Unite/Controllers/ForumController.cs
@@ -325,8 +325,6 @@ namespace Project_Unite.Controllers
{
int realpage = page - 1;
int pageSize = 10;
- if (triedtolikeowntopic)
- ViewBag.Error = "You cannot like or dislike your own topic!";
var db = new ApplicationDbContext();
var topic = db.ForumTopics.FirstOrDefault(x => x.Discriminator == id);
if (topic == null)