No action shall be maintained for forcible entry and detention, or for forcible detention only, of real property, after two (2) years from the time the cause of action accrued.