Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Fix table name
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Nov 5, 2020
1 parent 7a4eb85 commit 95b9607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/devicesync.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static function syncAll(): int
static::syncExtensionAttributeDefinitions();
$iterator = $DB->request([
'SELECT' => ['itemtype', 'items_id'],
'FROM' => (static::$jamfplugin_itemtype)::getTable(),
'FROM' => 'glpi_plugin_jamf_devices',
'WHERE' => [
new QueryExpression("sync_date < NOW() - INTERVAL {$config['sync_interval']} MINUTE")
]
Expand Down

0 comments on commit 95b9607

Please sign in to comment.