Applying ldap 7.x-2.2 gives Fatal Error

After applying ldap 7.x-2.2 I get:

Fatal error: Call to undefined function drupal_is_https() in mysitesitesallmodulesldapldap_serversldap_servers.module on line 813

Is nobody else getting this?

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/21/feed