mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 00:05:40 +00:00
Remove DB Check
This commit is contained in:
@@ -28,8 +28,6 @@
|
|||||||
<!-- Right navbar links -->
|
<!-- Right navbar links -->
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
|
|
||||||
<?php if(CURRENT_DATABASE_VERSION > '1.4.5' ) { // Check DB Version REMOVE on Decemeber 1st 2024 -Johnny ?>
|
|
||||||
|
|
||||||
<!--Custom Nav Link -->
|
<!--Custom Nav Link -->
|
||||||
<?php
|
<?php
|
||||||
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links WHERE custom_link_location = 2 AND custom_link_archived_at IS NULL
|
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links WHERE custom_link_location = 2 AND custom_link_archived_at IS NULL
|
||||||
@@ -58,8 +56,6 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
<!-- End Custom Nav Links -->
|
<!-- End Custom Nav Links -->
|
||||||
|
|
||||||
<?php } // End DB Check ?>
|
|
||||||
|
|
||||||
<!-- New Notifications Dropdown -->
|
<!-- New Notifications Dropdown -->
|
||||||
<?php
|
<?php
|
||||||
$row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('notification_id') AS num FROM notifications WHERE notification_user_id = $session_user_id AND notification_dismissed_at IS NULL"));
|
$row = mysqli_fetch_assoc(mysqli_query($mysqli, "SELECT COUNT('notification_id') AS num FROM notifications WHERE notification_user_id = $session_user_id AND notification_dismissed_at IS NULL"));
|
||||||
|
|||||||
Reference in New Issue
Block a user